Subject: [merged] binfmt_misc-add-missing-break-statement.patch removed from -mm tree To: luis.henriques@xxxxxxxxxxxxx,mm-commits@xxxxxxxxxxxxxxx From: akpm@xxxxxxxxxxxxxxxxxxxx Date: Fri, 04 Apr 2014 12:34:36 -0700 The patch titled Subject: binfmt_misc: add missing 'break' statement has been removed from the -mm tree. Its filename was binfmt_misc-add-missing-break-statement.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ From: Luis Henriques <luis.henriques@xxxxxxxxxxxxx> Subject: 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@xxxxxxxxxxxxx> Alexander Viro <viro@xxxxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- fs/binfmt_misc.c | 1 + 1 file changed, 1 insertion(+) diff -puN fs/binfmt_misc.c~binfmt_misc-add-missing-break-statement fs/binfmt_misc.c --- a/fs/binfmt_misc.c~binfmt_misc-add-missing-break-statement +++ a/fs/binfmt_misc.c @@ -656,6 +656,7 @@ static ssize_t bm_status_write(struct fi mutex_unlock(&root->d_inode->i_mutex); dput(root); + break; default: return res; } return count; _ Patches currently in -mm which might be from luis.henriques@xxxxxxxxxxxxx are origin.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html