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>
| ... | ... |
@@ -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]) |