]> bbs.cooldavid.org Git - net-next-2.6.git/commit - fs/nfs/dir.c
NFS: Fix a sillyrename race...
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Sat, 26 Jan 2008 22:37:47 +0000 (17:37 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 30 Jan 2008 07:05:21 +0000 (02:05 -0500)
commitfccca7fc6aab4e6b519e2d606ef34632e4f50e33
tree4d12d88039d229263a610647df6c751585f714dc
parent5b10ca19ea4859d3884d10a3eb8495de92089792
NFS: Fix a sillyrename race...

Ensure that readdir revalidates its data cache after blocking on
sillyrename.

Also fix a typo in nfs_do_call_unlink(): swap the ^= for an |=. The result
is the same, since we've already checked that the flag is unset, but it
makes the code more readable.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/dir.c
fs/nfs/unlink.c