From f10606806653ac57c368eb285ac0c5334ab674ae Mon Sep 17 00:00:00 2001 From: Peter Staubach Date: Sun, 25 Jun 2006 05:48:36 -0700 Subject: [PATCH] --- yaml --- r: 29757 b: refs/heads/master c: 6e656be899993f450a765056cdc8d87e58906508 h: refs/heads/master i: 29755: c24e5cbcdbb6aa91a70f5cb3a6a58ea8d6209a16 v: v3 --- [refs] | 2 +- trunk/fs/open.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index e74253b2ba8b..d8d7651609e7 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 838cd153a5250a79a302f6c5d68a4794b70c4ccb +refs/heads/master: 6e656be899993f450a765056cdc8d87e58906508 diff --git a/trunk/fs/open.c b/trunk/fs/open.c index 5fb16e5267dc..303f06d2a7b9 100644 --- a/trunk/fs/open.c +++ b/trunk/fs/open.c @@ -322,7 +322,7 @@ static long do_sys_ftruncate(unsigned int fd, loff_t length, int small) error = locks_verify_truncate(inode, file, length); if (!error) - error = do_truncate(dentry, length, 0, file); + error = do_truncate(dentry, length, ATTR_MTIME|ATTR_CTIME, file); out_putf: fput(file); out: