Daeseok Youn 2e17315242 ocfs2: use retval instead of status for checking error
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.

Signed-off-by: Daeseok Youn <daeseok.youn@gmail.com>
Reviewed-by: Joseph Qi <joseph.qi@huawei.com>
Cc: Joel Becker <jlbec@evilplan.org>
Cc: Mark Fasheh <mfasheh@suse.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2015-06-24 17:49:39 -07:00
..
2015-05-10 22:18:28 -04:00
2015-05-10 22:18:21 -04:00
2015-05-10 22:18:22 -04:00
2015-05-11 08:13:13 -04:00
2015-06-23 17:38:39 -07:00
2015-05-10 22:18:26 -04:00
2015-04-21 16:16:02 -04:00
2015-06-24 17:49:38 -07:00
2015-04-11 22:29:40 -04:00
2015-05-10 22:18:26 -04:00
2015-05-10 22:18:25 -04:00
2015-04-11 22:29:39 -04:00
2015-04-17 09:04:07 -04:00
2015-05-11 08:13:13 -04:00
2015-04-17 09:04:12 -04:00
2015-05-11 08:13:14 -04:00
2015-05-11 08:13:14 -04:00