btrfs: split dev-replace locking helpers for read and write
authorDavid Sterba <dsterba@suse.com>
Sat, 24 Mar 2018 01:11:38 +0000 (02:11 +0100)
committerDavid Sterba <dsterba@suse.com>
Sat, 31 Mar 2018 00:01:07 +0000 (02:01 +0200)
The current calls are unclear in what way btrfs_dev_replace_lock takes
the locks, so drop the argument, split the helpers and use similar
naming as for read and write locks.

Signed-off-by: David Sterba <dsterba@suse.com>

No differences found