]> git.neil.brown.name Git - history.git/commit
JFS: detect and fix invalid directory index values
authorDave Kleikamp <shaggy@kleikamp.austin.ibm.com>
Thu, 26 Sep 2002 07:15:35 +0000 (02:15 -0500)
committerDave Kleikamp <shaggy@kleikamp.austin.ibm.com>
Thu, 26 Sep 2002 07:15:35 +0000 (02:15 -0500)
commit3238e215ce0b1c5c3d5757196f1ac2b2b2ade520
treed6acfd972649f8ba9b416a54d5716112d5fd8db1
parentb920ee5669e2cd57bec30242de697a9d55da602b
JFS: detect and fix invalid directory index values

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.
fs/jfs/jfs_dtree.c