]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Eliminate an unnecessary rerun request in fsck_ffs.
authorKirk McKusick <mckusick@FreeBSD.org>
Wed, 22 Sep 2021 23:16:39 +0000 (16:16 -0700)
committerKirk McKusick <mckusick@FreeBSD.org>
Wed, 22 Sep 2021 23:20:19 +0000 (16:20 -0700)
commitb31c5a25321363ab95c1642dffc6e92319dc42ce
tree135e1a3b37c411e9845c3baed2ae0d03cff34524
parentebbc3140ca0d7eee154f7a67ccdae7d3d88d13fd
Eliminate an unnecessary rerun request in fsck_ffs.

When fsck_ffs is running in preen mode and finds a zero-length directory,
it deletes that directory. In doing this operation, it unnecessary set
its internal flag saying that fsck_ffs needed to be rerun. This patch
deletes the rerun request for this case.

Reported by:  Mark Johnson
PR:           246962
MFC after:    1 week
Sponsored by: Netflix
sbin/fsck_ffs/dir.c