From: Jan Kara Date: Fri, 10 Feb 2012 09:50:07 +0000 (+0100) Subject: ocfs2: Fix bogus error message from ocfs2_global_read_info X-Git-Tag: v3.5-rc6~8^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a4564ead763a9264edbec6d4e72aa273f05eb39c;p=pandora-kernel.git ocfs2: Fix bogus error message from ocfs2_global_read_info 'status' variable in ocfs2_global_read_info() is always != 0 when leaving the function because it happens to contain number of read bytes. Thus we always log error message although everything is OK. Since all error cases properly call mlog_errno() before jumping to out_err, there's no reason to call mlog_errno() on exit at all. This is a fallout of c1e8d35e (conversion of mlog_exit() calls). Signed-off-by: Jan Kara Signed-off-by: Joel Becker --- Reading git-diff-tree failed