[dm-devel] [PATCH] Clarify commit message in select_max_sectors_kb()

Martin Wilck mwilck at suse.com
Tue Jun 20 18:28:48 UTC 2017


Do you like it better this way?
---
 libmultipath/propsel.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/libmultipath/propsel.c b/libmultipath/propsel.c
index f11052f2..6d628052 100644
--- a/libmultipath/propsel.c
+++ b/libmultipath/propsel.c
@@ -798,8 +798,9 @@ int select_max_sectors_kb(struct config *conf, struct multipath * mp)
 	mp_set_conf(max_sectors_kb);
 	mp_set_default(max_sectors_kb, DEFAULT_MAX_SECTORS_KB);
 	/*
-	 * In the default case, we will not modify max_sectors_kb.
-	 * Don't print a log message to avoid user confusion.
+	 * In the default case, we will not modify max_sectors_kb in sysfs
+	 * (see sysfs_set_max_sectors_kb()).
+	 * Don't print a log message here to avoid user confusion.
 	 */
 	return 0;
 out:
-- 
2.13.1




More information about the dm-devel mailing list