diff options
Diffstat (limited to 'fs/xfs/xfs_xattr.c')
-rw-r--r-- | fs/xfs/xfs_xattr.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/fs/xfs/xfs_xattr.c b/fs/xfs/xfs_xattr.c index c036815183cb..b1850e1489ef 100644 --- a/fs/xfs/xfs_xattr.c +++ b/fs/xfs/xfs_xattr.c | |||
@@ -32,9 +32,10 @@ | |||
32 | 32 | ||
33 | 33 | ||
34 | static int | 34 | static int |
35 | xfs_xattr_get(struct dentry *dentry, const char *name, | 35 | xfs_xattr_get(const struct xattr_handler *handler, struct dentry *dentry, |
36 | void *value, size_t size, int xflags) | 36 | const char *name, void *value, size_t size) |
37 | { | 37 | { |
38 | int xflags = handler->flags; | ||
38 | struct xfs_inode *ip = XFS_I(d_inode(dentry)); | 39 | struct xfs_inode *ip = XFS_I(d_inode(dentry)); |
39 | int error, asize = size; | 40 | int error, asize = size; |
40 | 41 | ||
@@ -54,9 +55,10 @@ xfs_xattr_get(struct dentry *dentry, const char *name, | |||
54 | } | 55 | } |
55 | 56 | ||
56 | static int | 57 | static int |
57 | xfs_xattr_set(struct dentry *dentry, const char *name, const void *value, | 58 | xfs_xattr_set(const struct xattr_handler *handler, struct dentry *dentry, |
58 | size_t size, int flags, int xflags) | 59 | const char *name, const void *value, size_t size, int flags) |
59 | { | 60 | { |
61 | int xflags = handler->flags; | ||
60 | struct xfs_inode *ip = XFS_I(d_inode(dentry)); | 62 | struct xfs_inode *ip = XFS_I(d_inode(dentry)); |
61 | 63 | ||
62 | if (strcmp(name, "") == 0) | 64 | if (strcmp(name, "") == 0) |