]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0893506ec5ed1d0112bc3d48adb870550ea37492
tree4d12d88039d229263a610647df6c751585f714dc
parent49dd2fa7fe85caa8c9d76bdc692ed746f9e72dbc
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