summaryrefslogtreecommitdiffstats
path: root/sbin/fsck_ffs/pass3.c
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/fsck_ffs/pass3.c')
-rw-r--r--sbin/fsck_ffs/pass3.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sbin/fsck_ffs/pass3.c b/sbin/fsck_ffs/pass3.c
index 730af5f..8e43636 100644
--- a/sbin/fsck_ffs/pass3.c
+++ b/sbin/fsck_ffs/pass3.c
@@ -78,7 +78,8 @@ pass3()
* them in DSTATE which will cause them to be pitched
* in pass 4.
*/
- if (preen && resolved && usedsoftdep && state == DSTATE) {
+ if ((preen || bkgrdflag) &&
+ resolved && usedsoftdep && state == DSTATE) {
if (inp->i_dotdot >= ROOTINO)
inoinfo(inp->i_dotdot)->ino_linkcnt++;
continue;
OpenPOWER on IntegriCloud