OSDN Git Service

NFS: Fix nfs_verify_change_attribute()
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Sat, 29 Sep 2007 21:15:01 +0000 (17:15 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 9 Oct 2007 21:19:20 +0000 (17:19 -0400)
commit4b841736bc16b320bcdb1e8ece585b3ced9a8811
treec79e4c99393b8ebfd54617f0ffa791dacc443cb5
parent8edb01828837302055a8f0afddb2256659480bc5
NFS: Fix nfs_verify_change_attribute()

We don't care about whether or not some other process on our client is
changing the directory while we're in nfs_lookup_revalidate(), because the
dcache will take care of ensuring local atomicity.
We can therefore remove the test for nfs_caches_unstable().

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/dir.c
include/linux/nfs_fs.h