summaryrefslogtreecommitdiff
path: root/drivers/acpi/tiny-power-button.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-08-20 10:31:36 +0300
committerChristoph Hellwig <hch@lst.de>2020-10-07 08:56:17 +0300
commit7fad20dd7c0ab1d2c224755a574576be25f13e03 (patch)
treef4515f425310f26cd20d5a62a02456dacada890d /drivers/acpi/tiny-power-button.c
parent6fcd669514794da08ce6bfa272b6ec9b33cb543d (diff)
downloadlinux-7fad20dd7c0ab1d2c224755a574576be25f13e03.tar.xz
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 <hch@lst.de> Reviewed-by: Keith Busch <kbusch@kernel.org> Reviewed-by: Damien Le Moal <damien.lemoal@wdc.com>
Diffstat (limited to 'drivers/acpi/tiny-power-button.c')
0 files changed, 0 insertions, 0 deletions