diff options
author | Bob Liu <[email protected]> | 2020-03-24 21:22:45 +0800 |
---|---|---|
committer | Mike Snitzer <[email protected]> | 2020-03-24 12:21:48 -0400 |
commit | b8fdd090376a7a46d17db316638fe54b965c2fb0 (patch) | |
tree | 1df68124bef80a892be9d40b0c5246ed0465e361 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 75fa601934fda23d2f15bf44b09c2401942d8e15 (diff) |
dm zoned: remove duplicate nr_rnd_zones increase in dmz_init_zone()
zmd->nr_rnd_zones was increased twice by mistake. The other place it
is increased in dmz_init_zone() is the only one needed:
1131 zmd->nr_useable_zones++;
1132 if (dmz_is_rnd(zone)) {
1133 zmd->nr_rnd_zones++;
^^^
Fixes: 3b1a94c88b79 ("dm zoned: drive-managed zoned block device target")
Cc: [email protected]
Signed-off-by: Bob Liu <[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