https://github.com/torvalds/linux
Revision 68adb0af51ebccb72ffb14d49cb8121b1afc4259 authored by Trond Myklebust on 10 August 2006, 21:51:46 UTC, committed by Trond Myklebust on 24 August 2006, 19:50:42 UTC
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)
1 parent dff02cc
History
Tip revision: 68adb0af51ebccb72ffb14d49cb8121b1afc4259 authored by Trond Myklebust on 10 August 2006, 21:51:46 UTC
SUNRPC: rpc_unlink() must check for unhashed dentries
Tip revision: 68adb0a
File Mode Size
Makefile -rw-r--r-- 237 bytes
compat.c -rw-r--r-- 17.3 KB
compat_mq.c -rw-r--r-- 4.0 KB
mqueue.c -rw-r--r-- 29.8 KB
msg.c -rw-r--r-- 18.7 KB
msgutil.c -rw-r--r-- 2.4 KB
sem.c -rw-r--r-- 33.2 KB
shm.c -rw-r--r-- 21.6 KB
util.c -rw-r--r-- 17.0 KB
util.h -rw-r--r-- 2.6 KB

back to top