summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoriedowse <iedowse@FreeBSD.org>2001-12-17 01:33:27 +0000
committeriedowse <iedowse@FreeBSD.org>2001-12-17 01:33:27 +0000
commitf53606c2624bff3cd0bd6252fc64acf432576b03 (patch)
tree6083eaa00a340fb8438a041076c5f0a3e9599f32
parent51ff4e7d8ac9a1ad9158a7f595441d88dc01dd4b (diff)
downloadFreeBSD-src-f53606c2624bff3cd0bd6252fc64acf432576b03.zip
FreeBSD-src-f53606c2624bff3cd0bd6252fc64acf432576b03.tar.gz
Ignore the value of fs_active when comparing superblocks.
Noticed by: "Niels Chr. Bank-Pedersen" <ncbp@bank-pedersen.dk>
-rw-r--r--sbin/fsck_ffs/setup.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sbin/fsck_ffs/setup.c b/sbin/fsck_ffs/setup.c
index 0fe40eb..47157a2 100644
--- a/sbin/fsck_ffs/setup.c
+++ b/sbin/fsck_ffs/setup.c
@@ -421,6 +421,7 @@ readsb(listerr)
altsblock.fs_csp = sblock.fs_csp;
altsblock.fs_maxcluster = sblock.fs_maxcluster;
altsblock.fs_contigdirs = sblock.fs_contigdirs;
+ altsblock.fs_active = sblock.fs_active;
altsblock.fs_avgfilesize = sblock.fs_avgfilesize;
altsblock.fs_avgfpdir = sblock.fs_avgfpdir;
altsblock.fs_pendingblocks = sblock.fs_pendingblocks;
OpenPOWER on IntegriCloud