diff options
Diffstat (limited to 'fs/reiserfs')
-rw-r--r-- | fs/reiserfs/inode.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/fs/reiserfs/inode.c b/fs/reiserfs/inode.c index 477eaa2fcf6a..12dfdcfbee3d 100644 --- a/fs/reiserfs/inode.c +++ b/fs/reiserfs/inode.c | |||
@@ -2932,6 +2932,11 @@ int reiserfs_setattr(struct dentry *dentry, struct iattr *attr) | |||
2932 | } | 2932 | } |
2933 | if (error) | 2933 | if (error) |
2934 | goto out; | 2934 | goto out; |
2935 | /* | ||
2936 | * file size is changed, ctime and mtime are | ||
2937 | * to be updated | ||
2938 | */ | ||
2939 | attr->ia_valid |= (ATTR_MTIME | ATTR_CTIME); | ||
2935 | } | 2940 | } |
2936 | } | 2941 | } |
2937 | 2942 | ||