mirror of
https://github.com/ceph/ceph
synced 2024-12-18 01:16:55 +00:00
krbd: fix sysfs path in the comment
It's "/sys/bus/rbd/devices/<id>", but libudev works with devices and not busses, so it's really "/sys/devices/rbd/<id>/". Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com>
This commit is contained in:
parent
f1d953e08f
commit
65ca867e4f
@ -175,7 +175,7 @@ static int wait_for_udev_add(struct udev_monitor *mon, const char *pool,
|
||||
struct udev_device *bus_dev = NULL;
|
||||
|
||||
/*
|
||||
* Catch /sys/bus/rbd/<id>, note it, and wait for the corresponding
|
||||
* Catch /sys/devices/rbd/<id>/ and wait for the corresponding
|
||||
* block device to show up. This is necessary because rbd devices
|
||||
* and block devices aren't linked together in our sysfs layout.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user