From: Alexey Dobriyan Date: Tue, 29 Apr 2008 08:01:39 +0000 (-0700) Subject: proc: simplify locking in remove_proc_entry() X-Git-Tag: v2.6.26-rc1~495 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f649d6d32605c7573884613289fb3b9fbd4f99a1;p=pandora-kernel.git 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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed