mirror of
https://github.com/AuxXxilium/eudev.git
synced 2024-12-28 06:35:34 +07:00
udevd: remove check for dev_t, DEVPATH_OLD takes care of that
This commit is contained in:
parent
97f48a8c67
commit
82c785e5dc
12
udev/udevd.c
12
udev/udevd.c
@ -301,18 +301,6 @@ static int devpath_busy(struct udev_event *event)
|
||||
event->delaying_seqnum = udev_device_get_seqnum(loop_event->dev);
|
||||
return 4;
|
||||
}
|
||||
|
||||
/* check for our major:minor number */
|
||||
if (major(udev_device_get_devnum(event->dev)) > 0 &&
|
||||
udev_device_get_devnum(loop_event->dev) == udev_device_get_devnum(event->dev) &&
|
||||
strcmp(udev_device_get_subsystem(event->dev), udev_device_get_subsystem(loop_event->dev)) == 0) {
|
||||
dbg(event->udev, "%llu, device event still pending %llu (%d:%d)\n",
|
||||
udev_device_get_seqnum(event->dev),
|
||||
udev_device_get_seqnum(loop_event->dev),
|
||||
major(udev_device_get_devnum(loop_event->dev)), minor(udev_device_get_devnum(loop_event->dev)));
|
||||
event->delaying_seqnum = udev_device_get_seqnum(loop_event->dev);
|
||||
return 5;
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user