aboutsummaryrefslogtreecommitdiff
path: root/fs/ext2/inode.c
diff options
context:
space:
mode:
authorAlex Shi <alex.shi@linaro.org>2017-01-03 10:58:00 +0800
committerAlex Shi <alex.shi@linaro.org>2017-01-03 10:58:00 +0800
commit67f07b48af22065412ba4e78472121c0a9f58329 (patch)
tree18e5148ef910dcab382a98ff7b46172da0bf13bc /fs/ext2/inode.c
parenta5e9874fc9e05e8471bfd58cabd75a3432d38ba6 (diff)
parent35327468a79dd9e343eaf7e66cc372f8277b2a84 (diff)
Merge tag 'v4.1.37' into linux-linaro-lsk-v4.1
This is the 4.1.37 stable release
Diffstat (limited to 'fs/ext2/inode.c')
-rw-r--r--fs/ext2/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext2/inode.c b/fs/ext2/inode.c
index fd13c959958c..7841d71421aa 100644
--- a/fs/ext2/inode.c
+++ b/fs/ext2/inode.c
@@ -1548,7 +1548,7 @@ int ext2_setattr(struct dentry *dentry, struct iattr *iattr)
struct inode *inode = d_inode(dentry);
int error;
- error = inode_change_ok(inode, iattr);
+ error = setattr_prepare(dentry, iattr);
if (error)
return error;