SUNRPC: rpc_unlink() must check for unhashed dentries
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 10 Aug 2006 21:51:46 +0000 (17:51 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 24 Aug 2006 19:50:42 +0000 (15:50 -0400)
A prior call to rpc_depopulate() by rpc_rmdir() on the parent directory may
have already called simple_unlink() on this entry.
Add the same check to rpc_rmdir(). Also remove a redundant call to
rpc_close_pipes() in rpc_rmdir.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
(cherry picked from 0bbfb9d20f6437c4031aa3bf9b4d311a053e58e3 commit)


No differences found