From owner-cvs-all Tue Jul 23 7:30:33 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A6EF837B405; Tue, 23 Jul 2002 07:30:29 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5B99D43E42; Tue, 23 Jul 2002 07:30:29 -0700 (PDT) (envelope-from kan@FreeBSD.org) Received: from freefall.freebsd.org (kan@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g6NEUTJU081736; Tue, 23 Jul 2002 07:30:29 -0700 (PDT) (envelope-from kan@freefall.freebsd.org) Received: (from kan@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g6NEUTqY081735; Tue, 23 Jul 2002 07:30:29 -0700 (PDT) Message-Id: <200207231430.g6NEUTqY081735@freefall.freebsd.org> From: Alexander Kabaev Date: Tue, 23 Jul 2002 07:30:29 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern subr_diskslice.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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