The patch titled Subject: ocfs2: fix error return code in ocfs2_info_handle_freefrag() has been added to the -mm tree. Its filename is ocfs2-fix-error-return-code-in-ocfs2_info_handle_freefrag.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 *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Wei Yongjun <yongjun_wei@xxxxxxxxxxxxxxxxx> Subject: ocfs2: fix error return code in ocfs2_info_handle_freefrag() Fix to return a negative error code from the error handling case instead of 0, as returned elsewhere in this function. Signed-off-by: Wei Yongjun <yongjun_wei@xxxxxxxxxxxxxxxxx> Cc: Joel Becker <jlbec@xxxxxxxxxxxx> Cc: Mark Fasheh <mfasheh@xxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- fs/ocfs2/ioctl.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff -puN fs/ocfs2/ioctl.c~ocfs2-fix-error-return-code-in-ocfs2_info_handle_freefrag fs/ocfs2/ioctl.c --- a/fs/ocfs2/ioctl.c~ocfs2-fix-error-return-code-in-ocfs2_info_handle_freefrag +++ a/fs/ocfs2/ioctl.c @@ -706,8 +706,10 @@ int ocfs2_info_handle_freefrag(struct in o2info_set_request_filled(&oiff->iff_req); - if (o2info_to_user(*oiff, req)) + if (o2info_to_user(*oiff, req)) { + status = -EFAULT; goto bail; + } status = 0; bail: _ Patches currently in -mm which might be from yongjun_wei@xxxxxxxxxxxxxxxxx are linux-next.patch ocfs2-fix-error-return-code-in-ocfs2_info_handle_freefrag.patch rpmsg-fix-error-return-code-in-rpmsg_probe.patch drivers-video-backlight-adp8860_blc-fix-error-return-code-in-adp8860_led_probe.patch drivers-video-backlight-adp8870_blc-fix-error-return-code-in-adp8870_led_probe.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