diff options
| author | David Sterba <[email protected]> | 2022-06-15 13:03:11 +0000 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2024-07-11 13:33:28 +0000 |
| commit | a0d7e98ced3e4c45284b268bc0867b51f0e093d6 (patch) | |
| tree | b1628f0df5b76f8534c2eada428cf115711affb2 /fs/btrfs/inode.c | |
| parent | btrfs: pass a btrfs_inode to btrfs_readdir_put_delayed_items() (diff) | |
| download | kernel-a0d7e98ced3e4c45284b268bc0867b51f0e093d6.tar.gz kernel-a0d7e98ced3e4c45284b268bc0867b51f0e093d6.zip | |
btrfs: pass a btrfs_inode to btrfs_readdir_get_delayed_items()
Pass a struct btrfs_inode to btrfs_readdir_get_delayed_items() as it's
an internal interface, allowing to remove some use of BTRFS_I.
Reviewed-by: Boris Burkov <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/inode.c')
| -rw-r--r-- | fs/btrfs/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c index 85e29f626a4b..dfbb90743026 100644 --- a/fs/btrfs/inode.c +++ b/fs/btrfs/inode.c @@ -5947,7 +5947,7 @@ static int btrfs_real_readdir(struct file *file, struct dir_context *ctx) addr = private->filldir_buf; path->reada = READA_FORWARD; - put = btrfs_readdir_get_delayed_items(inode, private->last_index, + put = btrfs_readdir_get_delayed_items(BTRFS_I(inode), private->last_index, &ins_list, &del_list); again: |
