From: Alexey Dobriyan Date: Thu, 13 Jan 2011 01:00:35 +0000 (-0800) Subject: proc: less LOCK/UNLOCK in remove_proc_entry() X-Git-Tag: v2.6.38-rc1~311 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3740a20c4fe8697cb604a7d51395d23472b1768f;p=pandora-kernel.git proc: less LOCK/UNLOCK in remove_proc_entry() For the common case where a proc entry is being removed and nobody is in the process of using it, save a LOCK/UNLOCK pair. Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed