summaryrefslogtreecommitdiffstats
path: root/sys/ufs/mfs
diff options
context:
space:
mode:
authormckusick <mckusick@FreeBSD.org>2001-05-08 07:29:03 +0000
committermckusick <mckusick@FreeBSD.org>2001-05-08 07:29:03 +0000
commit1be6156a3d0e1361a8aded14931c71b619cd3968 (patch)
treeae4c1748f1e4f0e1072f970a9217717449282f92 /sys/ufs/mfs
parent9b0de0da1c26163969ed800f7c9cc2f47e11fd07 (diff)
downloadFreeBSD-src-1be6156a3d0e1361a8aded14931c71b619cd3968.zip
FreeBSD-src-1be6156a3d0e1361a8aded14931c71b619cd3968.tar.gz
Several fixes for units errors:
1) Do not assume that the superblock will be of size fs->fs_bsize. This fixes a panic when taking a snapshot on a filesystem with a block size bigger than 8K. 2) Properly calculate the number of fragments that follow the superblock summary information. This fixes a bug with inconsistent snapshots. 3) When cleaning up a snapshot that is about to be removed, properly calculate the number of blocks that need to be checked. This fixes a bug that created partially allocated inodes. 4) When moving blocks from a snapshot that is about to be removed to another snapshot, properly account for the reduced number of blocks in the snapshot from which they are taken. This fixes a bug in which the number of blocks released from a snapshot did not match the number that it claimed to have.
Diffstat (limited to 'sys/ufs/mfs')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud