dm-vdo / vdo-devel

Primary VDO mainline development repository
GNU General Public License v2.0
5 stars 11 forks source link

[VDO-5769] dm vdo: Adapt to RHEL 9 kernel backports #158

Closed C2Redhat closed 3 months ago

C2Redhat commented 3 months ago

The latest RHEL9, 5.14.0-447.el9, has adopted the change in Fedora which redefined blkdev_get_by_dev and made blkdev_put obsolete. PR 116 added support for this change in the linux kernel.

Add a new RHEL_RELEASE_VERSION check for RHEL95 to avoid VDO_USE_ALTERNATE and VDO_USE_ALTERNATE_2 from being defined in order to be compatible with the newest kernel version.