]> pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
NFS: Fix nfs_post_op_update_inode_force_wcc()
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Sun, 5 Oct 2008 16:27:55 +0000 (12:27 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 7 Oct 2008 21:41:00 +0000 (17:41 -0400)
If we believe that the attributes are old (see nfs_refresh_inode()), then
we shouldn't force an update.
Also ensure that we hold the inode->i_lock across attribute checks and the
call to nfs_refresh_inode_locked() to ensure that we don't race with other
attribute updates.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>

No differences found