Nikolay Borisov 11c67b1a40 btrfs: Rename __btrfs_alloc_chunk to btrfs_alloc_chunk
Having btrfs_alloc_chunk doesn't bring any value since it
encapsulates a lockdep assert and a call to find_next_chunk. Simply
rename the internal __btrfs_alloc_chunk function to the public one
and remove it's 2nd parameter as all callers always pass the return
value of find_next_chunk. Finally, migrate the call to
lockdep_assert_held so as to not lose the check.

Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
2020-03-23 17:01:52 +01:00
..
2020-01-20 16:41:00 +01:00
2019-11-18 23:43:44 +01:00
2020-03-23 17:01:43 +01:00
2020-03-23 17:01:43 +01:00
2020-01-20 16:40:55 +01:00
2019-11-18 17:51:51 +01:00