Re: [PATCH RESEND] ocfs2: use retval instead of status for checking error

From: DaeSeok Youn
Date: Sun May 03 2015 - 03:35:53 EST


2015-05-03 13:13 GMT+09:00 Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>:
> On Sun, 3 May 2015 12:02:39 +0900 DaeSeok Youn <daeseok.youn@xxxxxxxxx> wrote:
>
>> 2015-04-24 10:45 GMT+09:00 Daeseok Youn <daeseok.youn@xxxxxxxxx>:
>> > The use of 'status' in __ocfs2_add_entry() can return wrong
>> > value. Some functions' return value in __ocfs2_add_entry(),
>> > i.e ocfs2_journal_access_di() is saved to 'status'.
>> > But 'status' is not used in 'bail' label for returning result
>> > of __ocfs2_add_entry().
>> >
>> > So use retval instead of status.
>> >
>> > Reviewed-by: Joseph Qi <joseph.qi@xxxxxxxxxx>
>> > Signed-off-by: Daeseok Youn <daeseok.youn@xxxxxxxxx>
>> > ---
>> Andrew.
>>
>> How is it going this patch, please check for me.
>
> I merged this over a week ago and it is in linux-next:
> http://ozlabs.org/~akpm/mmotm/broken-out/ocfs2-use-retval-instead-of-status-for-checking-error.patch
>
> You were sent a commit email at the time.
I missed your notification mail. Sorry.
I update linux-next branch and check my commit.

thanks.

regards,
Daeseok Youn.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/