]> err.no Git - linux-2.6/commit
NFS: Sillyrename: in the case of a race, check aliases are really positive
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 29 Jan 2008 00:42:59 +0000 (19:42 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 30 Jan 2008 07:05:22 +0000 (02:05 -0500)
commit609005c319bc6062b95ed82e132884ed7e22cdb9
treeed798efb3dde26d9072fb44af743db638f76157e
parentfccca7fc6aab4e6b519e2d606ef34632e4f50e33
NFS: Sillyrename: in the case of a race, check aliases are really positive

In nfs_do_call_unlink() we check that we haven't raced, and that lookup()
hasn't created an aliased dentry to our sillydeleted dentry. If somebody
has deleted the file on the server and the lookup() resulted in a negative
dentry, then ignore...

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