diff --git a/daemon/info_unix.go b/daemon/info_unix.go index a677b3ceb0..6a97c661ad 100644 --- a/daemon/info_unix.go +++ b/daemon/info_unix.go @@ -281,18 +281,6 @@ func fillDriverWarnings(v *types.Info) { v.Warnings = append(v.Warnings, msg) continue } - if pair[0] == "Supports d_type" && pair[1] == "false" { - backingFs := getBackingFs(v) - - msg := fmt.Sprintf("WARNING: %s: the backing %s filesystem is formatted without d_type support, which leads to incorrect behavior.\n", v.Driver, backingFs) - if backingFs == "xfs" { - msg += " Reformat the filesystem with ftype=1 to enable d_type support.\n" - } - msg += " Running without d_type support will not be supported in future releases." - - v.Warnings = append(v.Warnings, msg) - continue - } if pair[0] == "Extended file attributes" && pair[1] == "best-effort" { msg := fmt.Sprintf("WARNING: %s: extended file attributes from container images "+ "will be silently discarded if the backing filesystem does not support them.\n"+ @@ -305,15 +293,6 @@ func fillDriverWarnings(v *types.Info) { } } -func getBackingFs(v *types.Info) string { - for _, pair := range v.DriverStatus { - if pair[0] == "Backing Filesystem" { - return pair[1] - } - } - return "" -} - // parseInitVersion parses a Tini version string, and extracts the "version" // and "git commit" from the output. //