cvs commit: src/sys/kern kern_conf.c src/sys/sys conf.h
src/sys/ufs/ffs ffs_snapshot.c
Poul-Henning Kamp
phk at FreeBSD.org
Mon Sep 13 00:29:45 PDT 2004
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
More information about the cvs-src
mailing list