summaryrefslogtreecommitdiff
path: root/fs/btrfs/props.h
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2022-01-31 19:16:41 +0100
committerDavid Sterba <dsterba@suse.com>2024-07-11 15:33:29 +0200
commit0d9b7e166aef9f6d6dc574155cce293a2b6bf190 (patch)
treebf01aad18718559de28982e023afcaed3c6ff7a7 /fs/btrfs/props.h
parente2877c2a032d821ca339dc333401e0c63bf67d5c (diff)
downloadlinux-0d9b7e166aef9f6d6dc574155cce293a2b6bf190.tar.gz
linux-0d9b7e166aef9f6d6dc574155cce293a2b6bf190.tar.bz2
linux-0d9b7e166aef9f6d6dc574155cce293a2b6bf190.zip
btrfs: pass a btrfs_inode to btrfs_set_prop()
Pass a struct btrfs_inode to btrfs_set_prop() 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/props.h')
-rw-r--r--fs/btrfs/props.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/props.h b/fs/btrfs/props.h
index 24131b29d842..63546d0a9444 100644
--- a/fs/btrfs/props.h
+++ b/fs/btrfs/props.h
@@ -15,7 +15,7 @@ struct btrfs_trans_handle;
int __init btrfs_props_init(void);
-int btrfs_set_prop(struct btrfs_trans_handle *trans, struct inode *inode,
+int btrfs_set_prop(struct btrfs_trans_handle *trans, struct btrfs_inode *inode,
const char *name, const char *value, size_t value_len,
int flags);
int btrfs_validate_prop(const struct btrfs_inode *inode, const char *name,