aboutsummaryrefslogtreecommitdiffstats
path: root/fs/attr.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/attr.c')
-rw-r--r--fs/attr.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/fs/attr.c b/fs/attr.c
index 267968d94673..5d4e59d56e85 100644
--- a/fs/attr.c
+++ b/fs/attr.c
@@ -202,11 +202,6 @@ int notify_change(struct dentry * dentry, struct iattr * attr, struct inode **de
202 return -EPERM; 202 return -EPERM;
203 } 203 }
204 204
205 if ((ia_valid & ATTR_SIZE) && IS_I_VERSION(inode)) {
206 if (attr->ia_size != inode->i_size)
207 inode_inc_iversion(inode);
208 }
209
210 if ((ia_valid & ATTR_MODE)) { 205 if ((ia_valid & ATTR_MODE)) {
211 umode_t amode = attr->ia_mode; 206 umode_t amode = attr->ia_mode;
212 /* Flag setting protected by i_mutex */ 207 /* Flag setting protected by i_mutex */