From 65ca867e4fbe55697226aacfa017d23127415e56 Mon Sep 17 00:00:00 2001 From: Ilya Dryomov Date: Thu, 8 May 2014 18:17:48 +0400 Subject: [PATCH] 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 --- src/krbd.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/krbd.cc b/src/krbd.cc index 9ac41371813..441355fa780 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. */ -- 2.47.3