btrfs: replace btrfs_set_lock_blocking_rw with appropriate helpers
authorDavid Sterba <dsterba@suse.com>
Wed, 4 Apr 2018 00:00:17 +0000 (02:00 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 25 Feb 2019 13:13:27 +0000 (14:13 +0100)
commit300aa896e1199bcd0dfb61aae86356714e017355
tree00235669e8fac6f0f87c1293ab56cc015a9cf7c6
parentaa12c02778a9719283fc3c32cfe5cffb902a7685
btrfs: replace btrfs_set_lock_blocking_rw with appropriate helpers

We can use the right helper where the lock type is a fixed parameter.

Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/backref.c
fs/btrfs/ctree.c
fs/btrfs/disk-io.c
fs/btrfs/locking.h
fs/btrfs/qgroup.c
fs/btrfs/ref-verify.c