diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2008-10-05 12:27:55 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2008-10-07 17:41:00 -0400 |
commit | d65f557f39448c2d9e58cd564037b81e646aed2c (patch) | |
tree | 8837231b55453405e40b2b8bd22470f3314cfa11 /fs/nfs/client.c | |
parent | a10ad17630024bf7aae8e7f18352f816ee483091 (diff) | |
download | op-kernel-dev-d65f557f39448c2d9e58cd564037b81e646aed2c.zip op-kernel-dev-d65f557f39448c2d9e58cd564037b81e646aed2c.tar.gz |
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: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/client.c')
0 files changed, 0 insertions, 0 deletions