nfs3proc.c | 5 +++++ 1 files changed, 5 insertions(+) diff -u --recursive --new-file --show-c-function linux-2.6.6-rc1/fs/nfs/nfs3proc.c linux-2.6.6-00-o_excl/fs/nfs/nfs3proc.c --- linux-2.6.6-rc1/fs/nfs/nfs3proc.c 2004-04-20 13:27:47.000000000 -0400 +++ linux-2.6.6-00-o_excl/fs/nfs/nfs3proc.c 2004-04-20 17:14:11.000000000 -0400 @@ -374,6 +374,11 @@ exit: }; dprintk("NFS call setattr (post-create)\n"); + if (!(sattr->ia_valid & ATTR_ATIME_SET)) + sattr->ia_valid |= ATTR_ATIME; + if (!(sattr->ia_valid & ATTR_MTIME_SET)) + sattr->ia_valid |= ATTR_MTIME; + /* Note: we could use a guarded setattr here, but I'm * not sure this buys us anything (and I'd have * to revamp the NFSv3 XDR code) */