HomeFreeBSD

Linux 6.10 compat: Fix zvol NULL pointer deference

Description

Linux 6.10 compat: Fix zvol NULL pointer deference

zvol_alloc_non_blk_mq()->blk_queue_set_write_cache() needs the disk
queue setup to prevent a NULL pointer deference.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Tony Hutter <hutter2@llnl.gov>
Closes #16453

Details

Provenance
Tony Hutter <hutter2@llnl.gov>Authored on Aug 15 2024, 9:05 PM
GitHub <noreply@github.com>Committed on Aug 15 2024, 9:05 PM
Parents
rGf2f4ada240e3: Linux 6.10 compat: fix rpm-kmod and builtin
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed rGfb432660c369: Linux 6.10 compat: Fix zvol NULL pointer deference (authored by Tony Hutter <hutter2@llnl.gov>).Aug 15 2024, 9:05 PM