summaryrefslogtreecommitdiff
path: root/fs/btrfs/locking.h
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2018-04-04 02:03:48 +0200
committerDavid Sterba <dsterba@suse.com>2019-02-25 14:13:27 +0100
commit8bead258206f4d4f485ad55bc1e39d23bbfe2fdd (patch)
tree71316678ac95c2e957ce80502db8f527067c0672 /fs/btrfs/locking.h
parent300aa896e1199bcd0dfb61aae86356714e017355 (diff)
btrfs: open code now trivial btrfs_set_lock_blocking
btrfs_set_lock_blocking is now only a simple wrapper around btrfs_set_lock_blocking_write. The name does not bring any semantic value that could not be inferred from the new function so there's no point keeping it. Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/locking.h')
-rw-r--r--fs/btrfs/locking.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/fs/btrfs/locking.h b/fs/btrfs/locking.h
index 9d9f649e35cc..84ea6ed60047 100644
--- a/fs/btrfs/locking.h
+++ b/fs/btrfs/locking.h
@@ -51,9 +51,4 @@ static inline void btrfs_set_lock_blocking_rw(struct extent_buffer *eb, int rw)
btrfs_set_lock_blocking_read(eb);
}
-static inline void btrfs_set_lock_blocking(struct extent_buffer *eb)
-{
- btrfs_set_lock_blocking_write(eb);
-}
-
#endif