Catch up to the dirpref changes by copying new fields in the alternate

superblock from the original superblock so that differences in those new
fields are ignored.
This commit is contained in:
John Baldwin 2001-04-10 22:11:01 +00:00
parent 317d5933d4
commit 3e6b5668b4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=75395

View File

@ -433,6 +433,9 @@ readsb(listerr)
memmove(altsblock.fs_ocsp, sblock.fs_ocsp, sizeof sblock.fs_ocsp);
altsblock.fs_csp = sblock.fs_csp;
altsblock.fs_maxcluster = sblock.fs_maxcluster;
altsblock.fs_contigdirs = sblock.fs_contigdirs;
altsblock.fs_avgfilesize = sblock.fs_avgfilesize;
altsblock.fs_avgfpdir = sblock.fs_avgfpdir;
memmove(altsblock.fs_fsmnt, sblock.fs_fsmnt, sizeof sblock.fs_fsmnt);
memmove(altsblock.fs_snapinum, sblock.fs_snapinum,
sizeof sblock.fs_snapinum);