diff options
Diffstat (limited to 'fs/attr.c')
| -rw-r--r-- | fs/attr.c | 5 |
1 files changed, 0 insertions, 5 deletions
| @@ -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 */ |
