c3df0e5 Backport fix for GGO #2189 (error accessing some filesystems)

Authored and Committed by adamwill 3 years ago
    Backport fix for GGO #2189 (error accessing some filesystems)
    
    Upstream commit refers only to read-only filesystems, but the
    bug also affects CIFS shares (and this patch fixes that case
    too).
    
        
file modified
+9 -1