X-Git-Url: http://git.cascardo.info/?p=cascardo%2Flinux.git;a=blobdiff_plain;f=fs%2Fhfsplus%2Finode.c;h=10827c912c4de6f1363819c4da979f4ed55f174c;hp=19462d773fe2443c3c483249630c646dc1f3c3f9;hb=97d2116708ca0fd6ad8b00811ee4349b7e19e96f;hpb=c98f5827f8f0e0cb075075def7f0d210992ef06d diff --git a/fs/hfsplus/inode.c b/fs/hfsplus/inode.c index 19462d773fe2..10827c912c4d 100644 --- a/fs/hfsplus/inode.c +++ b/fs/hfsplus/inode.c @@ -245,7 +245,7 @@ static int hfsplus_setattr(struct dentry *dentry, struct iattr *attr) struct inode *inode = d_inode(dentry); int error; - error = inode_change_ok(inode, attr); + error = setattr_prepare(dentry, attr); if (error) return error; @@ -333,10 +333,7 @@ int hfsplus_file_fsync(struct file *file, loff_t start, loff_t end, static const struct inode_operations hfsplus_file_inode_operations = { .setattr = hfsplus_setattr, - .setxattr = generic_setxattr, - .getxattr = generic_getxattr, .listxattr = hfsplus_listxattr, - .removexattr = generic_removexattr, #ifdef CONFIG_HFSPLUS_FS_POSIX_ACL .get_acl = hfsplus_get_posix_acl, .set_acl = hfsplus_set_posix_acl,