btrfs: update timestamps on truncate()
authorEric Sandeen <sandeen@redhat.com>
Sat, 12 Jan 2013 02:57:22 +0000 (02:57 +0000)
committerJosef Bacik <josef@toxicpanda.com>
Mon, 14 Jan 2013 18:53:37 +0000 (13:53 -0500)
commit3972f2603d8570effaf633cea52b12c7c2773c11
treeedfaa5dc10be60ef2a882a2e0713026312367b88
parentf276795627045a3c599a60b476767861e4318c7d
btrfs: update timestamps on truncate()

truncate() vs. ftruncate() differ in the VFS; truncate()
doesn't set (ATTR_CTIME | ATTR_MTIME), and it's up to the
fs to do the timestamp updates if the size changes.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
fs/btrfs/inode.c