Date: Tue, 23 Jul 2002 07:30:29 -0700 (PDT) From: Alexander Kabaev <kan@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern subr_diskslice.c Message-ID: <200207231430.g6NEUTqY081735@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
kan 2002/07/23 07:30:29 PDT
Modified files:
sys/kern subr_diskslice.c
Log:
Fix DIOCGMEDIASIZE and DIOCGSECTORSIZE ioctls to work for all
disk devices. This fixes the problem with these ioctls returning
EINVAL for plain slice devices with no disklabel on them.
The patch incorporates improvements and style fixes from BDE.
Reviewed by: bde
Approved by: obrien (mentor)
Revision Changes Path
1.106 +13 -13 src/sys/kern/subr_diskslice.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?200207231430.g6NEUTqY081735>
