mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 18:40:43 +03:00
config: rework ZFS_GENHD_FL_*
Sponsored-by: https://despairlabs.com/sponsor/ Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Tony Hutter <hutter2@llnl.gov> Reviewed-by: Tino Reichardt <milky-zfs@mcmilk.de> Signed-off-by: Rob Norris <robn@despairlabs.com> Closes #16479
This commit is contained in:
@@ -220,6 +220,19 @@ zfs_check_disk_status(struct block_device *bdev)
|
||||
#endif
|
||||
}
|
||||
|
||||
/*
|
||||
* 5.17 API change
|
||||
*
|
||||
* GENHD_FL_EXT_DEVT flag removed
|
||||
* GENHD_FL_NO_PART_SCAN renamed GENHD_FL_NO_PART
|
||||
*/
|
||||
#ifndef HAVE_GENHD_FL_EXT_DEVT
|
||||
#define GENHD_FL_EXT_DEVT (0)
|
||||
#endif
|
||||
#ifndef HAVE_GENHD_FL_NO_PART
|
||||
#define GENHD_FL_NO_PART (GENHD_FL_NO_PART_SCAN)
|
||||
#endif
|
||||
|
||||
/*
|
||||
* 4.1 API,
|
||||
* 3.10.0 CentOS 7.x API,
|
||||
|
||||
Reference in New Issue
Block a user