commit | 27dc1cd3ad9300f81e1219e5fc305d91d85353f8 | [log] [tgz] |
---|---|---|
author | Trond Myklebust <Trond.Myklebust@netapp.com> | Tue Jan 25 15:28:21 2011 -0500 |
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | Tue Jan 25 15:28:21 2011 -0500 |
tree | 5f242e02274ce115154e2400b298b82b39302ed2 | |
parent | b2a2897dc4a59684321de425652061c62a0569d0 [diff] |
NFS: nfs_wcc_update_inode() should set nfsi->attr_gencount If the call to nfs_wcc_update_inode() results in an attribute update, we need to ensure that the inode's attr_gencount gets bumped too, otherwise we are not protected against races with other GETATTR calls. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>