Browse code

graphdriver/devmapper: clarify a message

Make sure user understands this is about the in-kernel driver
(not the dockerd driver or smth).

While at it, amend the comment as well.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>

Kir Kolyshkin authored on 2017/08/01 11:59:48
Showing 1 changed files
... ...
@@ -1479,12 +1479,9 @@ func (devices *DeviceSet) closeTransaction() error {
1479 1479
 }
1480 1480
 
1481 1481
 func determineDriverCapabilities(version string) error {
1482
-	/*
1483
-	 * Driver version 4.27.0 and greater support deferred activation
1484
-	 * feature.
1485
-	 */
1482
+	// Kernel driver version >= 4.27.0 support deferred removal
1486 1483
 
1487
-	logrus.Debugf("devicemapper: driver version is %s", version)
1484
+	logrus.Debugf("devicemapper: kernel dm driver version is %s", version)
1488 1485
 
1489 1486
 	versionSplit := strings.Split(version, ".")
1490 1487
 	major, err := strconv.Atoi(versionSplit[0])