diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2006-08-10 17:51:46 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2006-08-24 15:50:42 -0400 |
commit | 68adb0af51ebccb72ffb14d49cb8121b1afc4259 (patch) | |
tree | cfe18744aa4a96680cf344092cff9a741fe152c3 /fs/nfs | |
parent | dff02cc1a34fcb60904a2c57cb351857cc11219e (diff) | |
download | linux-3.10-68adb0af51ebccb72ffb14d49cb8121b1afc4259.tar.gz linux-3.10-68adb0af51ebccb72ffb14d49cb8121b1afc4259.tar.bz2 linux-3.10-68adb0af51ebccb72ffb14d49cb8121b1afc4259.zip |
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 <Trond.Myklebust@netapp.com>
(cherry picked from 0bbfb9d20f6437c4031aa3bf9b4d311a053e58e3 commit)
Diffstat (limited to 'fs/nfs')
0 files changed, 0 insertions, 0 deletions