From: Ilya Dryomov Date: Thu, 8 May 2014 14:17:48 +0000 (+0400) Subject: krbd: fix sysfs path in the comment X-Git-Tag: v0.81~46^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=65ca867e4fbe55697226aacfa017d23127415e56;p=ceph.git krbd: fix sysfs path in the comment It's "/sys/bus/rbd/devices/", but libudev works with devices and not busses, so it's really "/sys/devices/rbd//". Signed-off-by: Ilya Dryomov --- diff --git a/src/krbd.cc b/src/krbd.cc index 9ac413718136..441355fa7809 100644 --- a/src/krbd.cc +++ b/src/krbd.cc @@ -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/, note it, and wait for the corresponding + * Catch /sys/devices/rbd// 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. */