From: David Sterba Date: Sat, 24 Mar 2018 01:11:38 +0000 (+0100) Subject: btrfs: split dev-replace locking helpers for read and write X-Git-Tag: 4.17-rc1SMB3-Fixes~98^2~3 X-Git-Url: http://git.samba.org/samba.git/?p=sfrench%2Fcifs-2.6.git;a=commitdiff_plain;h=7e79cb86be28ed8073870c22f479b3b1293ecb85;hp=7e79cb86be28ed8073870c22f479b3b1293ecb85 btrfs: split dev-replace locking helpers for read and write 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 ---