summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/delayed-inode.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2019-09-24 19:17:17 +0200
committerDavid Sterba <dsterba@suse.com>2019-11-18 12:46:49 +0100
commit1f95ec012cb4a3fabfef3efd9ba0b59e14ce48ce (patch)
tree907a2004aea3c9f65f0c4399c3d131be3dc6f416 /fs/btrfs/delayed-inode.c
parentbtrfs: move btrfs_set_path_blocking to other locking functions (diff)
downloadlinux-1f95ec012cb4a3fabfef3efd9ba0b59e14ce48ce.tar.xz
linux-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/delayed-inode.c')
-rw-r--r--fs/btrfs/delayed-inode.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/delayed-inode.c b/fs/btrfs/delayed-inode.c
index 49ec3402886a..942cc2a59164 100644
--- a/fs/btrfs/delayed-inode.c
+++ b/fs/btrfs/delayed-inode.c
@@ -12,6 +12,7 @@
#include "transaction.h"
#include "ctree.h"
#include "qgroup.h"
+#include "locking.h"
#define BTRFS_DELAYED_WRITEBACK 512
#define BTRFS_DELAYED_BACKGROUND 128