diff options
author | 2012-02-10 10:50:07 +0100 | |
---|---|---|
committer | 2012-07-03 23:27:17 -0700 | |
commit | a4564ead763a9264edbec6d4e72aa273f05eb39c (patch) | |
tree | 946afa2ff636bcb7837fb50587f54077aacc0d3c /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | ocfs2: for SEEK_DATA/SEEK_HOLE, return internal error unchanged if ocfs2_get_clusters_nocache() or ocfs2_inode_lock() call failed. (diff) | |
download | wireguard-linux-a4564ead763a9264edbec6d4e72aa273f05eb39c.tar.xz wireguard-linux-a4564ead763a9264edbec6d4e72aa273f05eb39c.zip |
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>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions