btrfs: dev-replace: open code trivial locking helpers
authorDavid Sterba <dsterba@suse.com>
Fri, 7 Sep 2018 14:11:23 +0000 (16:11 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 17 Dec 2018 13:51:45 +0000 (14:51 +0100)
commitcb5583dd52fab469a001a007385066fcd60629c5
tree879234a636ac76661a0d9757a665cbc93b3a9562
parent53176dde0acd8fa49c6c2e6097283acc6241480f
btrfs: dev-replace: open code trivial locking helpers

The dev-replace locking functions are now trivial wrappers around rw
semaphore that can be used directly everywhere. No functional change.

Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/dev-replace.c
fs/btrfs/dev-replace.h
fs/btrfs/reada.c
fs/btrfs/scrub.c
fs/btrfs/volumes.c