commit | 17dfeb9113397a6119091a491ef7182649f0c5a9 | [log] [tgz] |
---|---|---|
author | Trond Myklebust <trond.myklebust@primarydata.com> | Tue Jan 28 09:37:16 2014 -0500 |
committer | Trond Myklebust <trond.myklebust@primarydata.com> | Tue Jan 28 10:47:08 2014 -0500 |
tree | 26024381114970fa3ab1844f55b30755e7a32af3 | |
parent | 0ea9de0ea6a4e4a1d343130b2a159b4f986e288e [diff] |
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>