diff options
author | Md Haris Iqbal <[email protected]> | 2021-04-28 08:13:58 +0200 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2021-05-03 11:00:11 -0600 |
commit | 1056ad829ec43f9b705b507c2093b05e2088b0b7 (patch) | |
tree | c05aef9cf34a7ea1365ea3d04086ab13aa457916 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 292660fa35e8917a78235d39722edf9bbc04cab7 (diff) |
block/rnbd-clt: Check the return value of the function rtrs_clt_query
In case none of the paths are in connected state, the function
rtrs_clt_query returns an error. In such a case, error out since the
values in the rtrs_attrs structure would be garbage.
Fixes: f7a7a5c228d45 ("block/rnbd: client: main functionality")
Signed-off-by: Md Haris Iqbal <[email protected]>
Reviewed-by: Guoqing Jiang <[email protected]>
Signed-off-by: Jack Wang <[email protected]>
Signed-off-by: Gioh Kim <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions