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:
Ilya Dryomov 2014-05-08 18:17:48 +04:00
parent f1d953e08f
commit 65ca867e4f

View File

@ -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.
*/