freebsd-skq/sys/ufs
Konstantin Belousov 2aea094f65 Only copy as much bytes as there in superblock, instead of the full
block copy, when copying the superblock into the snapshot.  UFS1 does
not align superblock on the block boundary, and bcopy runs off the end
of the buffer.

Reported by:	Andre Albsmeier <Andre.Albsmeier@siemens.com>
Reviewed by:	mckusick
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
2013-07-12 18:52:33 +00:00
..
ffs Only copy as much bytes as there in superblock, instead of the full 2013-07-12 18:52:33 +00:00
ufs Change i_gen in UFS to an unsigned type. 2013-07-10 18:19:48 +00:00