commit | e17a5765f20d1219c3f05eb17aab11671978e0ec | [log] [tgz] |
---|---|---|
author | Alexey Dobriyan <adobriyan@gmail.com> | Fri Mar 05 13:43:59 2010 -0800 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Sat Mar 06 11:26:45 2010 -0800 |
tree | 6dae8ad2358efac94587dd86104fdccc715fbfde | |
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>