mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-28 19:20:30 +00:00
btrfs: merge alloc_device helpers
There are two helpers called in chain from one location, we can merge the functionaliy. Originally, alloc_fs_devices could fill the device uuid randomly if we we didn't give the uuid buffer. This happens for seed devices but the fsid is generated in btrfs_prepare_sprout, so we can remove it. Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
4b81ba48c6
commit
2dfeca9bfb
1 changed files with 11 additions and 25 deletions
Loading…
Add table
Add a link
Reference in a new issue