mempolicy: remove case MPOL_INTERLEAVE from policy_zonelist()
commit6eb27e1fdf5781719a3d2e90e6c89fa012135c62
authorBob Liu <lliubbo@gmail.com>
Mon, 24 May 2010 21:32:00 +0000 (24 14:32 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 25 May 2010 15:06:57 +0000 (25 08:06 -0700)
tree23be89303ad69f5728f69665dfadf2b4dc45628c
parent6d556294d5b27fb12f18be7495af45b6156a409e
mempolicy: remove case MPOL_INTERLEAVE from policy_zonelist()

In policy_zonelist() mode MPOL_INTERLEAVE shouldn't happen, so fall
through to BUG() instead of break to return.  I also fixed the comment.

Signed-off-by: Bob Liu <lliubbo@gmail.com>
Acked-by: David Rientjes <rientjes@google.com>
Cc: Andi Kleen <andi@firstfloor.org>
Cc: Lee Schermerhorn <lee.schermerhorn@hp.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/mempolicy.c