]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Removing devicePath member from dev struct
authorDave Allan <dallan@redhat.com>
Thu, 19 Nov 2009 15:02:18 +0000 (16:02 +0100)
committerDaniel Veillard <veillard@redhat.com>
Thu, 19 Nov 2009 15:02:18 +0000 (16:02 +0100)
commitf2f656d426e2829ba93ddf153294bff16cdf9976
treee8ee4495752b640dce13d011aab1c24627695048
parent0fe553744a9b4bf98db7753e48db3ff83af856ec
Removing devicePath member from dev struct

I realized that I inadvertently added a member to the def struct to
contain each device's sysfs path when there was an existing member in the
dev struct for "OS specific path to device metadat, eg sysfs"  Since the
udev backend needs to record the sysfs path while it's in the process of
creating the device, before the dev struct gets allocated, I chose to
remove the member from the dev struct.

* src/conf/node_device_conf.c src/conf/node_device_conf.h
  src/node_device/node_device_driver.c src/node_device/node_device_hal.c
  src/node_device/node_device_udev.c: remove devicePath from the
  structure and use def->sysfs_path instead
src/conf/node_device_conf.c
src/conf/node_device_conf.h
src/node_device/node_device_driver.c
src/node_device/node_device_hal.c
src/node_device/node_device_udev.c