diff options
author | Daeseok Youn <[email protected]> | 2015-06-24 16:55:01 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2015-06-24 17:49:39 -0700 |
commit | 2e173152420a9595bbfccbd8cdba0cd3c160fefc (patch) | |
tree | 46270c1efc08ac1937ae9ac9c555e1e09a851438 /tools/perf/scripts/python/netdev-times.py | |
parent | cf1776a9e834400ed8e2fea48ffa6daa9da28446 (diff) |
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 <[email protected]>
Reviewed-by: Joseph Qi <[email protected]>
Cc: Joel Becker <[email protected]>
Cc: Mark Fasheh <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions