diff options
author | David Sterba <dsterba@suse.com> | 2019-09-24 19:17:17 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2019-11-18 12:46:49 +0100 |
commit | 1f95ec012cb4a3fabfef3efd9ba0b59e14ce48ce (patch) | |
tree | 907a2004aea3c9f65f0c4399c3d131be3dc6f416 /fs/btrfs/locking.h | |
parent | ed2b1d36a9d027f9b841be5bfc9d61011462d447 (diff) | |
download | linux-stable-1f95ec012cb4a3fabfef3efd9ba0b59e14ce48ce.tar.gz linux-stable-1f95ec012cb4a3fabfef3efd9ba0b59e14ce48ce.tar.bz2 linux-stable-1f95ec012cb4a3fabfef3efd9ba0b59e14ce48ce.zip |
btrfs: move btrfs_unlock_up_safe to other locking functions
The function belongs to the family of locking functions, so move it
there. The 'noinline' keyword is dropped as it's now an exported
function that does not need it.
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/locking.h')
-rw-r--r-- | fs/btrfs/locking.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/locking.h b/fs/btrfs/locking.h index 98c92222eaf0..21a285883e89 100644 --- a/fs/btrfs/locking.h +++ b/fs/btrfs/locking.h @@ -34,6 +34,7 @@ static inline void btrfs_assert_tree_locked(struct extent_buffer *eb) { } #endif void btrfs_set_path_blocking(struct btrfs_path *p); +void btrfs_unlock_up_safe(struct btrfs_path *path, int level); static inline void btrfs_tree_unlock_rw(struct extent_buffer *eb, int rw) { |