ed 2008-06-12 08:30:54 UTC
FreeBSD src repository
Modified files:
sys/cddl/contrib/opensolaris/uts/common/fs/zfs zfs_znode.c
sys/kern kern_conf.c
sys/sys conf.h systm.h
Log:
SVN rev 179757 on 2008-06-12 08:30:54Z by ed
Turn dev2unit(), minor(), unit2minor() and minor2unit() into macro's.
Now that we got rid of the minor-to-unit conversion and the constraints
on device minor numbers, we can convert the functions that operate on
minor and unit numbers to simple macro's. The unit2minor() and
minor2unit() macro's are now no-ops.
The ZFS code als defined a macro named `minor'. Change the ZFS code to
use umajor() and uminor() here, as it is the correct approach to do
this. Also add $FreeBSD$ to keep SVN happy.
Approved by: philip (mentor), pjd
Revision Changes Path
1.16 +3 -7
src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_znode.c
1.217 +0 -35 src/sys/kern/kern_conf.c
1.241 +5 -3 src/sys/sys/conf.h
1.267 +0 -1 src/sys/sys/systm.h
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"