-int udev_device_get_num_fake_partitions(struct udev_device *udev_device)
-{
- if (!udev_device->info_loaded)
- device_load_info(udev_device);
- return udev_device->num_fake_partitions;
-}
-
-int udev_device_set_num_fake_partitions(struct udev_device *udev_device, int num)
-{
- udev_device->num_fake_partitions = num;
- return 0;
-}
-