]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ocfs2: Fix bogus error message from ocfs2_global_read_info
authorJan Kara <jack@suse.cz>
Fri, 10 Feb 2012 09:50:07 +0000 (10:50 +0100)
committerJoel Becker <jlbec@evilplan.org>
Wed, 4 Jul 2012 06:27:17 +0000 (23:27 -0700)
commita4564ead763a9264edbec6d4e72aa273f05eb39c
tree946afa2ff636bcb7837fb50587f54077aacc0d3c
parent65622e647bfff3ed89f95576ec120693ed4085a6
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 <jack@suse.cz>
Signed-off-by: Joel Becker <jlbec@evilplan.org>
fs/ocfs2/quota_global.c