Christophe JAILLET 8c703d6604 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/20171020193331.7233-1-christophe.jaillet@wanadoo.fr
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Acked-by: Luis R. Rodriguez <mcgrof@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2017-11-17 16:10:01 -08:00
..
2017-11-15 10:56:56 -08:00
2017-11-15 18:21:04 -08:00
2017-11-15 18:21:06 -08:00
2017-11-16 11:41:22 -08:00
2017-05-23 10:01:37 +02:00
2017-08-16 16:48:34 -07:00
2017-11-15 13:28:48 -08:00
2017-11-15 13:28:48 -08:00
2017-07-15 20:46:47 -04:00
2017-05-18 10:30:19 -06:00
2017-10-20 11:02:29 +02:00
2017-11-15 13:46:33 -08:00
2017-08-21 12:47:31 -07:00
2017-11-15 18:21:05 -08:00
2017-11-15 10:56:56 -08:00
2017-10-31 17:22:58 -05:00