Adding descriptive comment about overlay fix
Signed-off-by: Erik Jansson <erikja@axis.com>
This commit is contained in:
parent
0a8da7895f
commit
8a81739956
1
fs/fs.go
1
fs/fs.go
@ -223,6 +223,7 @@ func processMounts(mounts []*mount.Info, excludedMountpointPrefixes []string) ma
|
||||
}
|
||||
}
|
||||
|
||||
// overlay fix: Making mount source unique for all overlay mounts, using the mount's major and minor ids.
|
||||
if mount.Fstype == "overlay" {
|
||||
mount.Source = fmt.Sprintf("%s_%d-%d", mount.Source, mount.Major, mount.Minor)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user