diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2014-01-28 09:37:16 -0500 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2014-01-28 10:47:08 -0500 |
commit | 17dfeb9113397a6119091a491ef7182649f0c5a9 (patch) | |
tree | 26024381114970fa3ab1844f55b30755e7a32af3 /fs/nfs/dir.c | |
parent | 0ea9de0ea6a4e4a1d343130b2a159b4f986e288e (diff) | |
download | linux-17dfeb9113397a6119091a491ef7182649f0c5a9.tar.gz linux-17dfeb9113397a6119091a491ef7182649f0c5a9.tar.xz |
NFS: Fix races in nfs_revalidate_mapping
Commit d529ef83c355f97027ff85298a9709fe06216a66 (NFS: fix the handling
of NFS_INO_INVALID_DATA flag in nfs_revalidate_mapping) introduces
a potential race, since it doesn't test the value of nfsi->cache_validity
and set the bitlock in nfsi->flags atomically.
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Cc: Jeff Layton <jlayton@redhat.com>
Diffstat (limited to 'fs/nfs/dir.c')
0 files changed, 0 insertions, 0 deletions