From: Peter Rajnoha Date: Mon, 16 Aug 2010 11:13:18 +0000 (+0000) Subject: dm-mod autoloading support is in kernel 2.6.36 actually. X-Git-Tag: v2_02_91~1601 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=2d7614322e9735f27a55546cc85a9764fc40e901;p=lvm2.git dm-mod autoloading support is in kernel 2.6.36 actually. --- diff --git a/libdm/ioctl/libdm-iface.c b/libdm/ioctl/libdm-iface.c index c0097bfc7..3000360e2 100644 --- a/libdm/ioctl/libdm-iface.c +++ b/libdm/ioctl/libdm-iface.c @@ -392,7 +392,7 @@ static int _open_control(void) */ if (!_control_exists(control, 0, 0) || !(KERNEL_VERSION(_kernel_major, _kernel_minor, _kernel_release) >= - KERNEL_VERSION(2, 6, 35)) || + KERNEL_VERSION(2, 6, 36)) || !_open_and_assign_control_fd(control)) { if (!_control_device_number(&major, &minor)) log_error("Is device-mapper driver missing from kernel?");