Revert "Revert "Merge pull request #35821 from vishh/gci-mounter-scope""

This reverts commit 402116aed4.
This commit is contained in:
Vishnu kannan
2016-11-04 16:13:07 -07:00
parent 31fbb771a2
commit dd8ec911f3
20 changed files with 12782 additions and 49 deletions

View File

@@ -89,7 +89,7 @@ func (realConntracker) setIntSysCtl(name string, value int) error {
func isSysFSWritable() (bool, error) {
const permWritable = "rw"
const sysfsDevice = "sysfs"
m := mount.New()
m := mount.New("" /* default mount path */)
mountPoints, err := m.List()
if err != nil {
glog.Errorf("failed to list mount points: %v", err)