diff options
author | Christoph Hellwig <[email protected]> | 2020-08-20 09:31:36 +0200 |
---|---|---|
committer | Christoph Hellwig <[email protected]> | 2020-10-07 07:56:17 +0200 |
commit | 7fad20dd7c0ab1d2c224755a574576be25f13e03 (patch) | |
tree | f4515f425310f26cd20d5a62a02456dacada890d /scripts/gdb/linux/modules.py | |
parent | 6fcd669514794da08ce6bfa272b6ec9b33cb543d (diff) |
nvme: fix initialization of the zone bitmaps
The removal of the ->revalidate_disk method broke the initialization of
the zone bitmaps, as nvme_revalidate_disk now never gets called during
initialization.
Move the zone related code from nvme_revalidate_disk into a new helper in
zns.c, and call it from nvme_alloc_ns in addition to nvme_validate_ns to
ensure the zone bitmaps are initialized during probe.
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Keith Busch <[email protected]>
Reviewed-by: Damien Le Moal <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions