mm/slub.c: parse slub_debug O option in switch statement
authorChris J Arges <[email protected]>
Tue, 14 Apr 2015 22:44:25 +0000 (15:44 -0700)
committerLinus Torvalds <[email protected]>
Tue, 14 Apr 2015 23:48:59 +0000 (16:48 -0700)
commit08303a73c62a1cc83c613fa1965f5127ba030c46
tree688215f0951470e1dbdfbae5913673fe905627af
parentef2a5153b4d2c48c05b9280491cb5592a46df385
mm/slub.c: parse slub_debug O option in switch statement

By moving the O option detection into the switch statement, we allow this
parameter to be combined with other options correctly.  Previously options
like slub_debug=OFZ would only detect the 'o' and use DEBUG_DEFAULT_FLAGS
to fill in the rest of the flags.

Signed-off-by: Chris J Arges <[email protected]>
Cc: Christoph Lameter <[email protected]>
Cc: Pekka Enberg <[email protected]>
Acked-by: David Rientjes <[email protected]>
Cc: Joonsoo Kim <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
mm/slub.c