From owner-cvs-src-old@FreeBSD.ORG Mon Nov 2 23:30:36 2009 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CAD15106566B for ; Mon, 2 Nov 2009 23:30:36 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 9F9178FC0C for ; Mon, 2 Nov 2009 23:30:36 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id nA2NUalu025631 for ; Mon, 2 Nov 2009 23:30:36 GMT (envelope-from thompsa@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id nA2NUaKS025630 for cvs-src-old@freebsd.org; Mon, 2 Nov 2009 23:30:36 GMT (envelope-from thompsa@repoman.freebsd.org) Message-Id: <200911022330.nA2NUaKS025630@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to thompsa@repoman.freebsd.org using -f From: Andrew Thompson Date: Mon, 2 Nov 2009 23:30:15 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/cam/scsi scsi_da.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Nov 2009 23:30:36 -0000 thompsa 2009-11-02 23:30:15 UTC FreeBSD src repository Modified files: sys/cam/scsi scsi_da.c Log: SVN rev 198832 on 2009-11-02 23:30:15Z by thompsa Provide the same sanity check on the sector size in dagetcapacity as when the disk is first probed. dagetcapacity is called whenever the disk is opened from geom via d_open(), a zero sector size will cause geom to panic later on. Revision Changes Path 1.242 +9 -2 src/sys/cam/scsi/scsi_da.c