Files
mirror_zfs/module/os/linux/zfs
Brian Behlendorf 026f126b83 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-19 10:38:04 -07:00
..
2022-03-14 12:37:39 -07:00
2022-01-26 11:38:52 -08:00
2022-03-18 06:47:57 -06:00
2022-03-15 15:13:42 -07:00
2019-09-12 13:33:44 -07:00
2022-02-15 15:54:25 -08:00
2022-03-15 15:13:42 -07:00
2021-11-30 07:46:25 -07:00
2022-03-15 15:13:42 -07:00
2022-03-15 15:13:42 -07:00
2022-03-15 15:13:42 -07:00
2022-02-18 09:34:03 -08:00