aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/inode.c
diff options
context:
space:
mode:
authorJosef Bacik <josef@toxicpanda.com>2021-12-03 17:18:03 -0500
committerDavid Sterba <dsterba@suse.com>2022-01-07 14:18:23 +0100
commit26c2c4540d6d5c85a22a857ccda304361f1afeaf (patch)
tree9e3088200b5907be5c7ed5e6b4c1290ca68abae7 /fs/btrfs/inode.c
parentbtrfs: remove stale comment about locking at btrfs_search_slot() (diff)
downloadlinux-dev-26c2c4540d6d5c85a22a857ccda304361f1afeaf.tar.xz
linux-dev-26c2c4540d6d5c85a22a857ccda304361f1afeaf.zip
btrfs: add an inode-item.h
We have a few helpers in inode-item.c, and I'm going to make a few changes to how we do truncate in the future, so break out these definitions into their own header file to trim down ctree.h some and make it easier to do the work on truncate in the future. Reviewed-by: Filipe Manana <fdmanana@suse.com> Signed-off-by: Josef Bacik <josef@toxicpanda.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/inode.c')
-rw-r--r--fs/btrfs/inode.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c
index 504cf090fc88..6ccdcf76b02f 100644
--- a/fs/btrfs/inode.c
+++ b/fs/btrfs/inode.c
@@ -54,6 +54,7 @@
#include "space-info.h"
#include "zoned.h"
#include "subpage.h"
+#include "inode-item.h"
struct btrfs_iget_args {
u64 ino;