aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'fs/gfs2/inode.c')
-rw-r--r--fs/gfs2/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/inode.c b/fs/gfs2/inode.c
index 1b3ca7a2e3fc..6f7f848a3c4e 100644
--- a/fs/gfs2/inode.c
+++ b/fs/gfs2/inode.c
@@ -1759,7 +1759,7 @@ static int gfs2_setattr(struct dentry *dentry, struct iattr *attr)
1759 if (IS_IMMUTABLE(inode) || IS_APPEND(inode)) 1759 if (IS_IMMUTABLE(inode) || IS_APPEND(inode))
1760 goto out; 1760 goto out;
1761 1761
1762 error = inode_change_ok(inode, attr); 1762 error = setattr_prepare(dentry, attr);
1763 if (error) 1763 if (error)
1764 goto out; 1764 goto out;
1765 1765