summaryrefslogtreecommitdiffstats
path: root/lib/libc/regex/utils.h
diff options
context:
space:
mode:
authormckusick <mckusick@FreeBSD.org>2000-07-24 19:50:20 +0000
committermckusick <mckusick@FreeBSD.org>2000-07-24 19:50:20 +0000
commit281c0600008e1556b00bbdeb1bb085bb755e3a98 (patch)
tree0f638a72a7bd5a2066abf062bbc575fd48b69749 /lib/libc/regex/utils.h
parent73b9f713c6920af03f0251ac8a94515d43f3cf64 (diff)
downloadFreeBSD-src-281c0600008e1556b00bbdeb1bb085bb755e3a98.zip
FreeBSD-src-281c0600008e1556b00bbdeb1bb085bb755e3a98.tar.gz
If the lost+found directory is created by fsck, it will do a cacheino()
which sets the inoinfo's i_parent and i_dotdot to 0, but they never get set to ROOTINO. This means that propagate will never find lost+found and its descendents, subdirectories will remain DSTATE (instead of DFOUND) even though they *are* correctly linked in, and pass4.c will try to clear them unsuccessfully, thinking that there is no link count from the DSTATE directory's parent. The result is that you need to run fsck twice and get link count increasing errors (which are unexpected and fatal when running in preen mode). The fix is to set i_parent and i_dotdot to "parent" after the second cacheino() call in dir.c:allocdir(). Obtained from: "Ethan Solomita" <ethan@geocast.com> (of the NetBSD Project)
Diffstat (limited to 'lib/libc/regex/utils.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud