Date: Mon, 13 Sep 2004 07:29:45 +0000 (UTC) From: Poul-Henning Kamp <phk@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_conf.c src/sys/sys conf.h src/sys/ufs/ffs ffs_snapshot.c Message-ID: <200409130729.i8D7TjLl061742@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
phk 2004-09-13 07:29:45 UTC FreeBSD src repository Modified files: sys/kern kern_conf.c sys/sys conf.h sys/ufs/ffs ffs_snapshot.c Log: Create struct snapdata which contains the snapshot fields from cdev and the previously malloc'ed snapshot lock. Malloc struct snapdata instead of just the lock. Replace snapshot fields in cdev with pointer to snapdata (saves 16 bytes). While here, give the private readblock() function a vnode argument in preparation for moving UFS to access GEOM directly. Revision Changes Path 1.157 +0 -1 src/sys/kern/kern_conf.c 1.193 +3 -7 src/sys/sys/conf.h 1.85 +88 -70 src/sys/ufs/ffs/ffs_snapshot.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200409130729.i8D7TjLl061742>