btrfs: Remove 'trans' argument from find_free_dev_extent(_start)
authorNikolay Borisov <nborisov@suse.com>
Wed, 27 Mar 2019 12:24:14 +0000 (14:24 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 29 Apr 2019 17:02:37 +0000 (19:02 +0200)
commit60dfdf25bd31b94d0ed8e0ea50964ff22cc36a87
tree819f1fb5e3b99e42df9900abe8a43323cf687a8e
parent1c11b63eff2a67906cb9137bc6b2ee27767f313b
btrfs: Remove 'trans' argument from find_free_dev_extent(_start)

Now that these functions no longer require a handle to transaction to
inspect pending/pinned chunks the argument can be removed. At the same
time also remove any surrounding code which acquired the handle.

Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/extent-tree.c
fs/btrfs/volumes.c
fs/btrfs/volumes.h