From: Trond Myklebust Date: Thu, 10 Aug 2006 21:51:46 +0000 (-0400) Subject: SUNRPC: rpc_unlink() must check for unhashed dentries X-Git-Tag: v2.6.18-rc5~58^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=68adb0af51ebccb72ffb14d49cb8121b1afc4259;p=pandora-kernel.git SUNRPC: rpc_unlink() must check for unhashed dentries 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 (cherry picked from 0bbfb9d20f6437c4031aa3bf9b4d311a053e58e3 commit) --- Reading git-diff-tree failed