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
Parents
rG9d64d1bfad30: Linux 6.10 compat: fix rpm-kmod and builtin
Branches
Unknown
Tags
Unknown

Event Timeline

Tony Hutter <hutter2@llnl.gov> committed rG84a98615363c: Linux 6.10 compat: Fix zvol NULL pointer deference (authored by Tony Hutter <hutter2@llnl.gov>).Aug 22 2024, 10:42 PM