diff options
author | Hannes Reinecke <[email protected]> | 2020-05-19 10:14:19 +0200 |
---|---|---|
committer | Mike Snitzer <[email protected]> | 2020-05-20 17:09:49 -0400 |
commit | 489dc0f06a5837f87482c0ce61d830d24e17082e (patch) | |
tree | 8787113bed64aa4ac4aac191cc583cfd02c574b6 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 42c689f671233371f5c8c1685ab77bd66c274932 (diff) |
dm zoned: return NULL if dmz_get_zone_for_reclaim() fails to find a zone
The only case where dmz_get_zone_for_reclaim() cannot return a zone is
if the respective lists are empty. So we should just return a simple
NULL value here as we really don't have an error code which would make
sense.
Signed-off-by: Hannes Reinecke <[email protected]>
Reviewed-by: Damien Le Moal <[email protected]>
Signed-off-by: Mike Snitzer <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions