From owner-cvs-src-old@FreeBSD.ORG Mon Oct 19 18:31:50 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 4E8CF1065740 for ; Mon, 19 Oct 2009 18:31:50 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 3D5178FC14 for ; Mon, 19 Oct 2009 18:31:50 +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 n9JIVo6A000355 for ; Mon, 19 Oct 2009 18:31:50 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n9JIVo06000354 for cvs-src-old@freebsd.org; Mon, 19 Oct 2009 18:31:50 GMT (envelope-from jhb@repoman.freebsd.org) Message-Id: <200910191831.n9JIVo06000354@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to jhb@repoman.freebsd.org using -f From: John Baldwin Date: Mon, 19 Oct 2009 18:31:39 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_8 Subject: cvs commit: src/sys/boot/i386/zfsboot zfsboot.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, 19 Oct 2009 18:31:50 -0000 jhb 2009-10-19 18:31:39 UTC FreeBSD src repository Modified files: (Branch: RELENG_8) sys/boot/i386/zfsboot zfsboot.c Log: SVN rev 198241 on 2009-10-19 18:31:39Z by jhb MFC 198079: Use zfs_read() instead of xfsread() to read /boot.config. xfsread() fails short read requests, so the result was that a /boot.config smaller than 512 bytes was ignored. boot2 uses fsread() instead of xfsread() to read /boot.config already, so this makes zfsboot more like boot2. Approved by: re (kib) Revision Changes Path 1.3.4.2 +1 -1 src/sys/boot/i386/zfsboot/zfsboot.c