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>
parent
f2767956
Please register or sign in to comment