Files
mirror_zfs/module/os/linux/zfs
Brian Behlendorf aa1c3c1d1d Linux 5.17 compat: GENHD_FL_EXT_DEVT / GENHD_FL_NO_PART_SCAN
As of the 5.17 kernel the GENHD_FL_EXT_DEVT flag has been removed
and the GENHD_FL_NO_PART_SCAN flag renamed GENHD_FL_NO_PART. Update
zvol_alloc() to set GENHD_FL_NO_PART for the newer kernels which
is sufficient.  The behavior for prior kernels remains unchanged.

1ebe2e5f ("block: remove GENHD_FL_EXT_DEVT")
46e7eac6 ("block: rename GENHD_FL_NO_PART_SCAN to GENHD_FL_NO_PART")

Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #13294
Closes #13297
2022-04-20 13:44:19 -07:00
..
2022-03-20 21:21:18 -07:00
2019-09-12 13:33:44 -07:00
2019-09-12 13:33:44 -07:00
2021-11-02 09:50:30 -07:00
2021-06-24 13:12:36 -07:00
2020-04-10 10:33:35 -07:00
2022-02-03 15:28:01 -08:00
2021-11-02 09:50:30 -07:00