aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorNorton.Zhu <norton.zhu@huawei.com>2015-09-04 15:44:28 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2015-09-04 16:54:41 -0700
commit72f6fe1fe5a386225cdc30f025681830a63a117e (patch)
treead9de371ce30812954917c212044d5fadfa2feb1 /tools/perf/scripts/python/call-graph-from-postgresql.py
parentocfs2: fix a tiny case that inode can not removed (diff)
downloadlinux-dev-72f6fe1fe5a386225cdc30f025681830a63a117e.tar.xz
linux-dev-72f6fe1fe5a386225cdc30f025681830a63a117e.zip
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