Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kernel/umh.c: optimize 'proc_cap_handler()'
If 'write' is 0, we can avoid a call to spin_lock/spin_unlock. Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Christophe JAILLET <[email protected]> Acked-by: Luis R. Rodriguez <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
- Loading branch information