diff options
Diffstat (limited to 'fs/open.c')
-rw-r--r-- | fs/open.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |
326 | out_putf: | 326 | out_putf: |
327 | fput(file); | 327 | fput(file); |
328 | out: | 328 | out: |