From: Daeseok Youn Date: Wed, 24 Jun 2015 23:55:01 +0000 (-0700) Subject: ocfs2: use retval instead of status for checking error X-Git-Tag: omap-for-v4.2/fixes-rc1^2~125^2~82 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2e173152420a9595bbfccbd8cdba0cd3c160fefc;p=pandora-kernel.git 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 Reviewed-by: Joseph Qi Cc: Joel Becker Cc: Mark Fasheh Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed