2015-05-03 13:13 GMT+09:00 Andrew Morton :
> On Sun, 3 May 2015 12:02:39 +0900 DaeSeok Youn wrote:
>
>> 2015-04-24 10:45 GMT+09:00 Daeseok Youn :
>> > The use of 'status' in __ocfs2_add_entry() can return wrong
>> > value. Some functions' return value in __ocfs2_add_entry(),
>> > i.e ocfs2_journal
On Sun, 3 May 2015 12:02:39 +0900 DaeSeok Youn wrote:
> 2015-04-24 10:45 GMT+09:00 Daeseok Youn :
> > 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
2015-04-24 10:45 GMT+09:00 Daeseok Youn :
> 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_ad
Hi, Andrew.
2015-04-24 10:45 GMT+09:00 Daeseok Youn :
> 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
>
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.
Review
5 matches
Mail list logo