commit | 7fb2eced105f67676eb86473d5b1ce6a96f6eab4 | [log] [tgz] |
---|---|---|
author | David Sterba <dsterba@suse.com> | Fri Aug 24 17:33:58 2018 +0200 |
committer | David Sterba <dsterba@suse.com> | Mon Oct 15 17:23:37 2018 +0200 |
tree | 3b500f98ec26bd8989c81ab8bfdb506ced9937d7 | |
parent | 3280f874576d31b03fe19cbcc23585d96feb4ceb [diff] |
btrfs: open code btrfs_dev_replace_clear_lock_blocking There's a single caller and the function name does not say it's actually taking the lock, so open coding makes it more explicit. For now, btrfs_dev_replace_read_lock is used instead of read_lock so it's paired with the unlocking wrapper in the same block. Reviewed-by: Anand Jain <anand.jain@oracle.com> Signed-off-by: David Sterba <dsterba@suse.com>