summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/delayed-inode.h
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2022-06-15 15:11:38 +0200
committerDavid Sterba <dsterba@suse.com>2024-07-11 15:33:28 +0200
commit849c01ae90efcf273a9c26e305d5d42862f8f3e8 (patch)
treeb2578a80f0a46b010dcb519d222b3ab4aa73c97b /fs/btrfs/delayed-inode.h
parentbtrfs: remove raid-stripe-tree encoding field from stripe_extent (diff)
downloadlinux-849c01ae90efcf273a9c26e305d5d42862f8f3e8.tar.xz
linux-849c01ae90efcf273a9c26e305d5d42862f8f3e8.zip
btrfs: pass a btrfs_inode to btrfs_readdir_put_delayed_items()
Pass a struct btrfs_inode to btrfs_readdir_put_delayed_items() as it's an internal interface, allowing to remove some use of BTRFS_I. Reviewed-by: Boris Burkov <boris@bur.io> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/delayed-inode.h')
-rw-r--r--fs/btrfs/delayed-inode.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/delayed-inode.h b/fs/btrfs/delayed-inode.h
index 654c04d38fb3..e30ba7962d44 100644
--- a/fs/btrfs/delayed-inode.h
+++ b/fs/btrfs/delayed-inode.h
@@ -147,7 +147,7 @@ bool btrfs_readdir_get_delayed_items(struct inode *inode,
u64 last_index,
struct list_head *ins_list,
struct list_head *del_list);
-void btrfs_readdir_put_delayed_items(struct inode *inode,
+void btrfs_readdir_put_delayed_items(struct btrfs_inode *inode,
struct list_head *ins_list,
struct list_head *del_list);
int btrfs_should_delete_dir_index(const struct list_head *del_list,