]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
NFS: Make stat() return updated mtimes after a write()
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 3 Jan 2006 08:55:34 +0000 (09:55 +0100)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 6 Jan 2006 19:58:50 +0000 (14:58 -0500)
commit70b9ecbdb9c5fdc731f8780bffd45d9519020c4a
tree4678182bd417945cd424a652396510bc53eff8b7
parent24174119c73983d5217da8f56a12c79a9b57e056
NFS: Make stat() return updated mtimes after a write()

 The SuS states that a call to write() will cause mtime to be updated on
 the file. In order to satisfy that requirement, we need to flush out
 any cached writes in nfs_getattr().
 Speed things up slightly by not committing the writes.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/inode.c
fs/nfs/write.c
include/linux/nfs_fs.h