nfsd: update mtime on truncate
authorChristoph Hellwig <hch@lst.de>
Sun, 7 Sep 2014 19:15:52 +0000 (12:15 -0700)
committerJ. Bruce Fields <bfields@redhat.com>
Thu, 11 Sep 2014 15:12:16 +0000 (11:12 -0400)
commitf0c63124a6165792f6e37e4b5983792d009e1ce8
treea7f1bba20c1706707da46372d88c244221e225e3
parent027bc41a3eb4759d60641c033c9a4c85be1cfd39
nfsd: update mtime on truncate

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>
fs/nfsd/vfs.c