diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2008-04-29 10:01:39 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-29 17:06:17 +0200 |
commit | f649d6d32605c7573884613289fb3b9fbd4f99a1 (patch) | |
tree | 3fe52e6e5e93edc2f011d8047a8e3ac2eee71930 /fs/isofs | |
parent | procfs: mem permission cleanup (diff) | |
download | linux-f649d6d32605c7573884613289fb3b9fbd4f99a1.tar.xz linux-f649d6d32605c7573884613289fb3b9fbd4f99a1.zip |
proc: simplify locking in remove_proc_entry()
proc_subdir_lock protects only modifying and walking through PDE lists, so
after we've found PDE to remove and actually removed it from lists, there is
no need to hold proc_subdir_lock for the rest of operation.
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/isofs')
0 files changed, 0 insertions, 0 deletions