aboutsummaryrefslogtreecommitdiffstats
path: root/fs/open.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/open.c')
-rw-r--r--fs/open.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/open.c b/fs/open.c
index 5fb16e5267dc..303f06d2a7b9 100644
--- a/fs/open.c
+++ b/fs/open.c
@@ -322,7 +322,7 @@ static long do_sys_ftruncate(unsigned int fd, loff_t length, int small)
322 322
323 error = locks_verify_truncate(inode, file, length); 323 error = locks_verify_truncate(inode, file, length);
324 if (!error) 324 if (!error)
325 error = do_truncate(dentry, length, 0, file); 325 error = do_truncate(dentry, length, ATTR_MTIME|ATTR_CTIME, file);
326out_putf: 326out_putf:
327 fput(file); 327 fput(file);
328out: 328out: