diff options
author | Alexey Dobriyan | 2010-03-05 13:43:59 -0800 |
---|---|---|
committer | Linus Torvalds | 2010-03-06 11:26:45 -0800 |
commit | e17a5765f20d1219c3f05eb17aab11671978e0ec (patch) | |
tree | 6dae8ad2358efac94587dd86104fdccc715fbfde /fs/proc/vmcore.c | |
parent | 5748150eabdacd3f870c311b63d32f5e312bf624 (diff) |
proc: do translation + unlink atomically at remove_proc_entry()
remove_proc_entry() does
lock
lookup parent
unlock
lock
unlink proc entry from lists
unlock
which can be made bit more correct by doing parent translation + unlink
without dropping lock.
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/proc/vmcore.c')
0 files changed, 0 insertions, 0 deletions