diff options
| author | David Sterba <dsterba@suse.com> | 2025-02-18 01:10:59 +0100 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2025-03-18 20:35:43 +0100 |
| commit | a0680a946f199f6328c82175f4a77db1e9d66bf5 (patch) | |
| tree | 0909ff134703d498d8c8d831dad8cd23ded27590 /fs/btrfs/inode.c | |
| parent | btrfs: pass struct btrfs_inode to fill_stack_inode_item() (diff) | |
| download | linux-a0680a946f199f6328c82175f4a77db1e9d66bf5.tar.gz linux-a0680a946f199f6328c82175f4a77db1e9d66bf5.zip | |
btrfs: pass struct btrfs_inode to btrfs_fill_inode()
Pass a struct btrfs_inode to btrfs_fill_inode() as it's an internal
interface, allowing to remove some use of BTRFS_I.
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: David Sterba <dsterba@suse.com>
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 033f110c21ce..d6d5208c8a5e 100644 --- a/fs/btrfs/inode.c +++ b/fs/btrfs/inode.c @@ -3875,7 +3875,7 @@ static int btrfs_read_locked_inode(struct btrfs_inode *inode, struct btrfs_path if (ret) goto out; - ret = btrfs_fill_inode(vfs_inode, &rdev); + ret = btrfs_fill_inode(inode, &rdev); if (!ret) filled = true; |
