diff options
| author | Norton.Zhu <norton.zhu@huawei.com> | 2015-09-05 01:44:28 +0300 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-09-05 02:54:41 +0300 |
| commit | 72f6fe1fe5a386225cdc30f025681830a63a117e (patch) | |
| tree | ad9de371ce30812954917c212044d5fadfa2feb1 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
| parent | 928dda1f9433f024ac48c3d97ae683bf83dd0e42 (diff) | |
| download | linux-72f6fe1fe5a386225cdc30f025681830a63a117e.tar.xz | |
ocfs2: optimize error handling in dlm_request_join
Currently error handling in dlm_request_join is a little obscure, so
optimize it to promote readability.
If packet.code is invalid, reset it to JOIN_DISALLOW to keep it
meaningful. It only influences the log printing.
Signed-off-by: Norton.Zhu <norton.zhu@huawei.com>
Cc: Srinivas Eeda <srinivas.eeda@oracle.com>
Reviewed-by: Mark Fasheh <mfasheh@suse.de>
Cc: Joel Becker <jlbec@evilplan.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions
