diff options
author | David Sterba <dsterba@suse.com> | 2025-02-18 01:16:46 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2025-03-18 20:35:44 +0100 |
commit | 308a02a447cf6685becdafaadf50fff3b95271d2 (patch) | |
tree | a1c8728551afff002997cb54254cc10449c9596d /fs/btrfs/inode.c | |
parent | a0680a946f199f6328c82175f4a77db1e9d66bf5 (diff) |
btrfs: pass struct btrfs_inode to btrfs_load_inode_props()
Pass a struct btrfs_inode to btrfs_load_inode_props() 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 d6d5208c8a5e8..9a503be660e8e 100644 --- a/fs/btrfs/inode.c +++ b/fs/btrfs/inode.c @@ -4017,7 +4017,7 @@ cache_acl: btrfs_ino(inode), &first_xattr_slot); if (first_xattr_slot != -1) { path->slots[0] = first_xattr_slot; - ret = btrfs_load_inode_props(vfs_inode, path); + ret = btrfs_load_inode_props(inode, path); if (ret) btrfs_err(fs_info, "error loading props for ino %llu (root %llu): %d", |