Date: Fri, 19 Sep 1997 04:13:19 -0700 (PDT) From: Poul-Henning Kamp <phk@FreeBSD.ORG> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/ufs/ffs ffs_alloc.c Message-ID: <199709191113.EAA00449@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
phk 1997/09/19 04:13:19 PDT Modified files: sys/ufs/ffs ffs_alloc.c Log: [Regarding the previous patch] This is completely wrong. 1. ffs_alloc() actually allowed writing one block less one frag (normally 7 frags or 7/8 blocks) beyond the limit. 2. freebufspace() gives the free space in frags, but `size' is in bytes, so the change results in approximately `size' fragments too many being reserved. 3. ffs_realloccg() has the same bug but wasn't changed. PR: 3398 Submitted by: bde Eyeballed by: phk Revision Changes Path 1.37 +5 -3 src/sys/ufs/ffs/ffs_alloc.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199709191113.EAA00449>