OSDN Git Service

btrfs: Remove unused locking functions
authorNikolay Borisov <nborisov@suse.com>
Thu, 25 Jul 2019 08:27:28 +0000 (11:27 +0300)
committerDavid Sterba <dsterba@suse.com>
Mon, 9 Sep 2019 12:58:59 +0000 (14:58 +0200)
commit5044ed4f394cb371fb85db3e3ec0296487b7d324
tree4cd67f82ca2ac52bb9e098e86638b96f92a53494
parent8ddc319706e5ca201a128e3f2477938d7f174ca8
btrfs: Remove unused locking functions

Those were split out of btrfs_clear_lock_blocking_rw by
aa12c02778a9 ("btrfs: split btrfs_clear_lock_blocking_rw to read and write helpers")
however at that time this function was unused due to commit
523983401644 ("Btrfs: kill btrfs_clear_path_blocking"). Put the final
nail in the coffin of those 2 functions.

Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/locking.c
fs/btrfs/locking.h
include/trace/events/btrfs.h