diff options
author | 2013-01-31 11:17:54 +0300 | |
---|---|---|
committer | 2013-02-13 11:27:51 -0800 | |
commit | 07ea81b6f7d6345e146245c4964640a5a27b5cc5 (patch) | |
tree | ac51b8c8445ace138389659e2994fa154b04e426 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | target/iblock: Use backend REQ_FLUSH hint for WriteCacheEnabled status (diff) | |
download | linux-dev-07ea81b6f7d6345e146245c4964640a5a27b5cc5.tar.xz linux-dev-07ea81b6f7d6345e146245c4964640a5a27b5cc5.zip |
target: don't always say "ipv6" as address type
"lstat->last_intr_fail_ip_addr" is an array inside the "lstat" struct.
It's never NULL so we always print "ipv6\n" here. The test should be
"if (lstat->last_intr_fail_ip_family == AF_INET6)".
We don't need the temporary buffer either. We could print directly into
"page".
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions