• Andrew Morton's avatar
    [PATCH] ext3: htree memory leak fix · 2d10c0bb
    Andrew Morton authored
    From Alex Tomas
    
    We started using ext3_dx_readdir() for all dir_index filesystems, because
    we want to return entries in hash order always, so that readdir with a
    partial read + new entry added before next readdir won't be crazy.
    
    So we now need to free the structure at filp->pricate_data even against
    non-indexed directories.
    2d10c0bb
dir.c 13.2 KB