]> git.baikalelectronics.ru Git - kernel.git/commit
mm/slub.c: parse slub_debug O option in switch statement
authorChris J Arges <chris.j.arges@canonical.com>
Tue, 14 Apr 2015 22:44:25 +0000 (15:44 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 14 Apr 2015 23:48:59 +0000 (16:48 -0700)
commitbc909467a60aa419ff16ee03e3a830d927e644a1
tree688215f0951470e1dbdfbae5913673fe905627af
parent9d86c11ca4288847a37095400165ce43c7ed0f35
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 <chris.j.arges@canonical.com>
Cc: Christoph Lameter <cl@linux.com>
Cc: Pekka Enberg <penberg@kernel.org>
Acked-by: David Rientjes <rientjes@google.com>
Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/slub.c