aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ocfs2/file.c')
-rw-r--r--fs/ocfs2/file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ocfs2/file.c b/fs/ocfs2/file.c
index 8cb409d840dd..79e79164c6cd 100644
--- a/fs/ocfs2/file.c
+++ b/fs/ocfs2/file.c
@@ -1151,7 +1151,7 @@ int ocfs2_setattr(struct dentry *dentry, struct iattr *attr)
1151 if (!(attr->ia_valid & OCFS2_VALID_ATTRS)) 1151 if (!(attr->ia_valid & OCFS2_VALID_ATTRS))
1152 return 0; 1152 return 0;
1153 1153
1154 status = inode_change_ok(inode, attr); 1154 status = setattr_prepare(dentry, attr);
1155 if (status) 1155 if (status)
1156 return status; 1156 return status;
1157 1157