The patch titled fs/pipe.c: pipe_read(): fix error return has been added to the -mm tree. Its filename is fs-pipec-pipe_read-fix-error-return.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://userweb.kernel.org/~akpm/stuff/added-to-mm.txt to find out what to do about this The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: fs/pipe.c: pipe_read(): fix error return From: Nicolas Kaiser <nikai@xxxxxxxxx> pipe_read() would accidentally return 0 if ->confirm failed. Signed-off-by: Nicolas Kaiser <nikai@xxxxxxxxx> Cc: Al Viro <viro@xxxxxxxxxxxxxxxxxx> Cc: Jens Axboe <axboe@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- fs/pipe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN fs/pipe.c~fs-pipec-pipe_read-fix-error-return fs/pipe.c --- a/fs/pipe.c~fs-pipec-pipe_read-fix-error-return +++ a/fs/pipe.c @@ -382,7 +382,7 @@ pipe_read(struct kiocb *iocb, const stru error = ops->confirm(pipe, buf); if (error) { if (!ret) - error = ret; + ret = error; break; } _ Patches currently in -mm which might be from nikai@xxxxxxxxx are linux-next.patch fs-pipec-pipe_read-fix-error-return.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