Merge remote-tracking branch 'jk/vfs' into work.misc
[linux-2.6-block.git] / fs / ext4 / inode.c
index c6ea25a190f88b09354e93cb7245586af2dbc87a..b27491e885c4434038a9bfec942b34a0116f0024 100644 (file)
@@ -5073,7 +5073,7 @@ int ext4_setattr(struct dentry *dentry, struct iattr *attr)
        int orphan = 0;
        const unsigned int ia_valid = attr->ia_valid;
 
-       error = inode_change_ok(inode, attr);
+       error = setattr_prepare(dentry, attr);
        if (error)
                return error;