summaryrefslogtreecommitdiffstats
path: root/fs/hfsplus/xattr.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/hfsplus/xattr.c')
-rw-r--r--fs/hfsplus/xattr.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/fs/hfsplus/xattr.c b/fs/hfsplus/xattr.c
index e8984990ee3b..e41a010cd89c 100644
--- a/fs/hfsplus/xattr.c
+++ b/fs/hfsplus/xattr.c
@@ -849,8 +849,9 @@ end_removexattr:
849 return err; 849 return err;
850} 850}
851 851
852static int hfsplus_osx_getxattr(struct dentry *dentry, const char *name, 852static int hfsplus_osx_getxattr(const struct xattr_handler *handler,
853 void *buffer, size_t size, int type) 853 struct dentry *dentry, const char *name,
854 void *buffer, size_t size)
854{ 855{
855 if (!strcmp(name, "")) 856 if (!strcmp(name, ""))
856 return -EINVAL; 857 return -EINVAL;
@@ -871,8 +872,9 @@ static int hfsplus_osx_getxattr(struct dentry *dentry, const char *name,
871 return __hfsplus_getxattr(d_inode(dentry), name, buffer, size); 872 return __hfsplus_getxattr(d_inode(dentry), name, buffer, size);
872} 873}
873 874
874static int hfsplus_osx_setxattr(struct dentry *dentry, const char *name, 875static int hfsplus_osx_setxattr(const struct xattr_handler *handler,
875 const void *buffer, size_t size, int flags, int type) 876 struct dentry *dentry, const char *name,
877 const void *buffer, size_t size, int flags)
876{ 878{
877 if (!strcmp(name, "")) 879 if (!strcmp(name, ""))
878 return -EINVAL; 880 return -EINVAL;