• Han-Wen Nienhuys's avatar
    fuse/pathfs: fix LookupKnownChildren I/O errors · 4e73fb9a
    Han-Wen Nienhuys authored
    There was a thinko in PathFS.Lookup: if GetAttr returns OK, we did not
    copy the attribute if there was a known child with that name. This
    lead returning status OK, with a zeroed out Attr structure. The 0 mode
    would sometimes lead to I/O errors, as files without type are not
    allowed.
    
    Fixes #239
    4e73fb9a
loopback_test.go 20.9 KB