diff options
| author | Christophe JAILLET <[email protected]> | 2015-09-04 15:43:46 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2015-09-04 16:54:41 -0700 |
| commit | 372a447c4bb8271d128def5f93e3365d5d06b4d8 (patch) | |
| tree | ea889d72d3ad5dba9a02db096d0316c773717bc4 /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | acf8fdbe6afb084666df347602fe4258f1cf5fd5 (diff) | |
ocfs2: do not log twice error messages
'o2hb_map_slot_data' and 'o2hb_populate_slot_data' are called from only
one place, in 'o2hb_region_dev_write'. Return value is checked and
'mlog_errno' is called to log a message if it is not 0.
So there is no need to call 'mlog_errno' directly within these functions.
This would result on logging the message twice.
Signed-off-by: Christophe JAILLET <[email protected]>
Cc: Mark Fasheh <[email protected]>
Cc: Joel Becker <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions