summaryrefslogtreecommitdiffstats
path: root/sbin/fsck_ffs/pass5.c
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2006-10-31 22:06:56 +0000
committerpjd <pjd@FreeBSD.org>2006-10-31 22:06:56 +0000
commit1fff821e2de5fd21ef549a021d018c83de7776e8 (patch)
tree5aa5dca4042a8cf53b45dc5c45fa5dd8fdbdf32f /sbin/fsck_ffs/pass5.c
parentaaa4c16f6734f951c5260123c5c45a059bee0128 (diff)
downloadFreeBSD-src-1fff821e2de5fd21ef549a021d018c83de7776e8.zip
FreeBSD-src-1fff821e2de5fd21ef549a021d018c83de7776e8.tar.gz
Implements gjournal support. If file system has gjournal support enabled
and -p flag was given perform fast file system checking (bascially only garbage collecting of orphaned objects). Rename bread() to blread() and bwrite() to blwrite() as we now link to the libufs library, which also implement functions with that names. Sponsored by: home.pl
Diffstat (limited to 'sbin/fsck_ffs/pass5.c')
-rw-r--r--sbin/fsck_ffs/pass5.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sbin/fsck_ffs/pass5.c b/sbin/fsck_ffs/pass5.c
index 693831f..3275894 100644
--- a/sbin/fsck_ffs/pass5.c
+++ b/sbin/fsck_ffs/pass5.c
@@ -164,6 +164,7 @@ pass5(void)
pfatal("CG %d: BAD MAGIC NUMBER\n", c);
newcg->cg_time = cg->cg_time;
newcg->cg_old_time = cg->cg_old_time;
+ newcg->cg_unrefs = cg->cg_unrefs;
newcg->cg_cgx = c;
dbase = cgbase(fs, c);
dmax = dbase + fs->fs_fpg;
OpenPOWER on IntegriCloud