diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2010-03-05 16:43:59 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-03-06 14:26:45 -0500 |
commit | e17a5765f20d1219c3f05eb17aab11671978e0ec (patch) | |
tree | 6dae8ad2358efac94587dd86104fdccc715fbfde /fs/splice.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/splice.c')
0 files changed, 0 insertions, 0 deletions