Date: Fri, 20 Dec 2002 19:07:25 -0800 (PST) From: Kirk McKusick <mckusick@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/ufs/ffs ffs_snapshot.c Message-ID: <200212210307.gBL37PZZ049014@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
mckusick 2002/12/20 19:07:25 PST Modified files: (Branch: RELENG_5_0) sys/ufs/ffs ffs_snapshot.c Log: MFC of revision 1.57 of sys/ufs/ffs/ffs_snapshot.c. This update corrects a sign-post error introduced in revision 1.56. The effect was to put an additional (incorrect) block into the lookup list for each metablock in the snapshot. The extra incorrect block causes background fsck to panic the kernel with "freeing free block". For large filesystems, the large number of extra blocks can overrun the area malloc'ed to hold the lookup list resulting in corruption of the malloc arena. Reported by: Aurelien Nephtali <aurelien.nephtali@wanadoo.fr> Sponsored by: DARPA & NAI Labs. Approved by: re Revision Changes Path 1.53.2.3 +12 -4 src/sys/ufs/ffs/ffs_snapshot.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200212210307.gBL37PZZ049014>