nfsd: update mtime on truncate

commit f0c63124a6 upstream.

This fixes a failure in xfstests generic/313 because nfs doesn't update
mtime on a truncate.  The protocol requires this to be done implicity
for a size changing setattr.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
This commit is contained in:
Christoph Hellwig 2014-09-07 12:15:52 -07:00 • committed by Ben Hutchings
commit 7cf01c94a5