diff options
author | David Sterba <dsterba@suse.com> | 2018-04-04 01:52:31 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2019-02-25 14:13:27 +0100 |
commit | aa12c02778a9719283fc3c32cfe5cffb902a7685 (patch) | |
tree | 3e16f94482bf883da2f9ed4f0bac7bb4ea17d0d8 /fs/btrfs/backref.c | |
parent | b95be2d9fb2a6120958b777e13d2328f9770bc2d (diff) | |
download | linux-aa12c02778a9719283fc3c32cfe5cffb902a7685.tar.bz2 |
btrfs: split btrfs_clear_lock_blocking_rw to read and write helpers
There are many callers that hardcode the desired lock type so we can
avoid the switch and call them directly. Split the current function to
two. There are no remaining users of btrfs_clear_lock_blocking_rw so
it's removed. The call sites will be converted in followup patches.
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/backref.c')
0 files changed, 0 insertions, 0 deletions