Skip to content
Commit d65f557f authored by Trond Myklebust's avatar Trond Myklebust
Browse files

NFS: Fix nfs_post_op_update_inode_force_wcc()



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: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
parent a10ad176
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment