• Dave Kleikamp's avatar
    JFS: detect and fix invalid directory index values · 3238e215
    Dave Kleikamp authored
    The directory index values are the unique cookies used to resume
    a readdir at the proper place.  These are stored with each entry
    in a directory.  fsck.jfs does not currently validate these entries,
    nor even create them when populating the lost+found directory.
    
    This patch causes readdir to detect the invalid cookies, and generate
    new ones, if possible.
    3238e215
jfs_dtree.c 103 KB