On Mon, Dec 07, 2009 at 03:16:32PM -0500, Cole Robinson wrote:
On 12/07/2009 01:15 PM, Guido Günther wrote:
> Fix crash on daemon strdup in that case.
>
> udev_device_get_devpath returs NULL for
> '/sys/devices/virtual/block/dm-*' devices. In that case the later strdup
> segfaults. O.k. to apply?
>
> 19:12:46.319: info : udevGetDeviceProperty:111 : udev reports device 'dm-0'
does not have property 'DRIVER'
> 19:12:46.319: debug : udevProcessStorage:954 : No devnode for
'/devices/virtual/block/dm-0'
> 19:12:46.319: info : udevProcessDeviceListEntry:1261 : Failed to create node device
for udev device '/sys/devices/virtual/block/dm-0'
>
> ---
> src/node_device/node_device_udev.c | 8 +++++++-
> 1 files changed, 7 insertions(+), 1 deletions(-)
>
ACK
Pushed. Thanks.
-- Guido