• Han-Wen Nienhuys's avatar
    For readdirplus, execute lookups when adding name entry. · 8783b8e8
    Han-Wen Nienhuys authored
    We can only do the lookup if we are sure that we will return the
    result to the kernel, otherwise our lookup counts will go out of sync
    with the kernel. As a bonus, this removes the allocation for the
    EntryOut data structure, since we can write directly into the
    readdirplus return data.
    
    Add a port of the xfstest generic/257 that triggered this bug.
    
    Fixes #57.
    8783b8e8
xfs_test.go 2.39 KB