View | Details | Raw Unified | Return to bug 34433
Collapse All | Expand All

(-)file_not_specified_in_diff (-2 / +4 lines)
Line  Link Here
0
-- libdm/ioctl/libdm-iface.c
0
++ libdm/ioctl/libdm-iface.c
Lines 415-423 static int _open_control(void) Link Here
415
415
416
       /*
416
       /*
417
        * Prior to 2.6.36 the minor number should be looked up in /proc.
417
        * Prior to 2.6.36 the minor number should be looked up in /proc.
418
        *
419
        * ALT Linux 2.6.32 OVZ-EL kernel reports fake 3.2.0 version:
418
        */
420
        */
419
       if ((KERNEL_VERSION(_kernel_major, _kernel_minor, _kernel_release) <
421
       if ((KERNEL_VERSION(_kernel_major, _kernel_minor, _kernel_release) <
420
            KERNEL_VERSION(2, 6, 36)) &&
422
            KERNEL_VERSION(3, 2, 1)) &&
421
           !_control_device_number(&major, &minor))
423
           !_control_device_number(&major, &minor))
422
               goto_bad;
424
               goto_bad;
423
425

Return to bug 34433