aboutsummaryrefslogtreecommitdiff
path: root/sys/ufs
diff options
context:
space:
mode:
authorKirk McKusick <mckusick@FreeBSD.org>2021-07-29 23:11:58 +0000
committerKirk McKusick <mckusick@FreeBSD.org>2021-07-29 23:13:54 +0000
commit412b5e40a721430adba1b4abae210641f733f976 (patch)
treedf9b198191877535d69ae216b5715d19084bdad2 /sys/ufs
parent2572376f7f6412bc69bd6138e9ac9a6efd7642af (diff)
Diffstat (limited to 'sys/ufs')
-rw-r--r--sys/ufs/ffs/ffs_softdep.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/ufs/ffs/ffs_softdep.c b/sys/ufs/ffs/ffs_softdep.c
index 75120175e4a1..da80f28bc814 100644
--- a/sys/ufs/ffs/ffs_softdep.c
+++ b/sys/ufs/ffs/ffs_softdep.c
@@ -1293,6 +1293,10 @@ workitem_reassign(item, newtype)
dep_total[newtype]++;
FREE_GBLLOCK(&lk);
item->wk_type = newtype;
+#ifdef INVARIANTS
+ LIST_REMOVE(item, wk_all);
+ LIST_INSERT_HEAD(&ump->softdep_alldeps[newtype], item, wk_all);
+#endif
}
/*