diff options
| author | Norton.Zhu <[email protected]> | 2015-09-04 15:44:28 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2015-09-04 16:54:41 -0700 |
| commit | 72f6fe1fe5a386225cdc30f025681830a63a117e (patch) | |
| tree | ad9de371ce30812954917c212044d5fadfa2feb1 /tools/perf/scripts/python | |
| parent | 928dda1f9433f024ac48c3d97ae683bf83dd0e42 (diff) | |
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 <[email protected]>
Cc: Srinivas Eeda <[email protected]>
Reviewed-by: 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')
0 files changed, 0 insertions, 0 deletions