Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for IsCorruptedMnt (0.11 sec)

  1. pkg/volume/flexvolume/detacher.go

    		return nil
    	}
    	if pathErr != nil && !mount.IsCorruptedMnt(pathErr) {
    		return fmt.Errorf("error checking path: %w", pathErr)
    	}
    
    	notmnt, err := isNotMounted(d.plugin.host.GetMounter(d.plugin.GetPluginName()), deviceMountPath)
    	if err != nil {
    		if mount.IsCorruptedMnt(err) {
    			notmnt = false // Corrupted error is assumed to be mounted.
    		} else {
    			return err
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 14 13:58:56 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  2. pkg/volume/csi/csi_mounter.go

    		return false, err
    	}
    	return !notMnt, nil
    }
    
    func isCorruptedDir(dir string) bool {
    	_, pathErr := mount.PathExists(dir)
    	return pathErr != nil && mount.IsCorruptedMnt(pathErr)
    }
    
    // removeMountDir cleans the mount dir when dir is not mounted and removed the volume data file in dir
    func removeMountDir(plug *csiPlugin, mountPath string) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jan 30 10:47:59 UTC 2024
    - 21K bytes
    - Viewed (0)
Back to top