]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: merge alloc_device helpers
authorDavid Sterba <dsterba@suse.com>
Mon, 26 Jul 2021 12:15:21 +0000 (14:15 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 23 Aug 2021 11:19:03 +0000 (13:19 +0200)
commit0cf2f67ac2e8cd9505bb6171f9c1bc083adff11b
tree31723a0d1c82d85eb0a8906d74037288f1c4bc1e
parent09f9cc9be17c508d569b31895c06dfdaa42b3258
btrfs: merge alloc_device helpers

The device allocation is split to two functions, but one just calls the
other and they're very far in the file. Merge them together.

Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/volumes.c