binfmt_misc: add missing 'break' statement
authorLuis Henriques <luis.henriques@canonical.com>
Thu, 3 Apr 2014 21:49:34 +0000 (14:49 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 3 Apr 2014 23:21:16 +0000 (16:21 -0700)
commitb003f9650210fa1b3caea43201852bf2d9df7689
tree0e325bfc35c3f982b1ecc0f66b9440ac705e85a2
parent7a42d4b6a10c93ff15cff4f09c5a2d65877fa6ba
binfmt_misc: add missing 'break' statement

A missing 'break' statement in bm_status_write() results in a user program
receiving '3' when doing the following:

  write(fd, "-1", 2);

Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
Alexander Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/binfmt_misc.c