From 96f0eefa1a78b70fa9da81ca9fe3c26ec54b9ffe Mon Sep 17 00:00:00 2001 From: Qiang Huang Date: Mon, 16 Nov 2015 19:16:27 +0800 Subject: [PATCH] Fix comment to be consistent with the code Signed-off-by: Qiang Huang --- libcontainer/rootfs_linux.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libcontainer/rootfs_linux.go b/libcontainer/rootfs_linux.go index 78beb038..bea28b0d 100644 --- a/libcontainer/rootfs_linux.go +++ b/libcontainer/rootfs_linux.go @@ -290,8 +290,7 @@ func getCgroupMounts(m *configs.Mount) ([]*configs.Mount, error) { return binds, nil } -// checkMountDestination checks to ensure that the mount destination is not over the -// top of /proc or /sys. +// checkMountDestination checks to ensure that the mount destination is not over the top of /proc. // dest is required to be an abs path and have any symlinks resolved before calling this function. func checkMountDestination(rootfs, dest string) error { if filepath.Clean(rootfs) == filepath.Clean(dest) {