From owner-freebsd-current@FreeBSD.ORG Mon Apr 23 12:44:45 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4164A16A40A for ; Mon, 23 Apr 2007 12:44:45 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from tarsier.geekcn.org (tarsier.geekcn.org [210.51.165.229]) by mx1.freebsd.org (Postfix) with ESMTP id DAFBE13C46A for ; Mon, 23 Apr 2007 12:44:44 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from localhost (tarsier.geekcn.org [210.51.165.229]) by tarsier.geekcn.org (Postfix) with ESMTP id DAE53EB4A0A; Mon, 23 Apr 2007 20:44:43 +0800 (CST) X-Virus-Scanned: amavisd-new at geekcn.org Received: from tarsier.geekcn.org ([210.51.165.229]) by localhost (mail.geekcn.org [210.51.165.229]) (amavisd-new, port 10024) with ESMTP id ILFDAs8WAYgw; Mon, 23 Apr 2007 20:44:37 +0800 (CST) Received: from LI-Xins-MacBook.local (unknown [221.217.209.120]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tarsier.geekcn.org (Postfix) with ESMTP id 011D8EB4A0E; Mon, 23 Apr 2007 20:44:36 +0800 (CST) DomainKey-Signature: a=rsa-sha1; s=default; d=delphij.net; c=nofws; q=dns; h=message-id:date:from:organization:user-agent:mime-version:to:cc: subject:references:in-reply-to:x-enigmail-version:content-type; b=FK7Q/h2vEwJJxM8DPs4F50gcOvchKLiUKt8eqcHx0l0AnTqN8Ih+RvtOxo4/PW07X v6VfxuOmb4X0am03f/Ujw== Message-ID: <462CAA2E.5060606@delphij.net> Date: Mon, 23 Apr 2007 20:44:30 +0800 From: LI Xin Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.0 (Macintosh/20070326) MIME-Version: 1.0 To: "Andrei V. Lavreniyuk" References: <200704231542.33743.bamston@reactor-xg.kiev.ua> In-Reply-To: <200704231542.33743.bamston@reactor-xg.kiev.ua> X-Enigmail-Version: 0.95.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enig994850BEBB1357A1CA6494F5" Cc: current@freebsd.org Subject: Re: Error (ZFS) make kernel 7.0-CURRENT 23.04.2007 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Apr 2007 12:44:45 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig994850BEBB1357A1CA6494F5 Content-Type: multipart/mixed; boundary="------------070801050601060405040702" This is a multi-part message in MIME format. --------------070801050601060405040702 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: quoted-printable Try this patch. Cheers, --=20 Xin LI http://www.delphij.net/ FreeBSD - The Power to Serve! --------------070801050601060405040702 Content-Type: text/plain; x-mac-type="0"; x-mac-creator="0"; name="zfs-amd64.diff" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline; filename="zfs-amd64.diff" Index: opensolaris/uts/common/fs/zfs/zfs_vnops.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /home/ncvs/src/sys/contrib/opensolaris/uts/common/fs/zfs/zfs_vn= ops.c,v retrieving revision 1.5 diff -u -p -u -r1.5 zfs_vnops.c --- opensolaris/uts/common/fs/zfs/zfs_vnops.c 23 Apr 2007 00:52:07 -0000 = 1.5 +++ opensolaris/uts/common/fs/zfs/zfs_vnops.c 23 Apr 2007 10:55:04 -0000 @@ -188,7 +188,7 @@ zfs_close(vnode_t *vp, int flag, int cou * data (cmd =3D=3D _FIO_SEEK_DATA). "off" is an in/out parameter. */ static int -zfs_holey(vnode_t *vp, int cmd, offset_t *off) +zfs_holey(vnode_t *vp, unsigned long cmd, offset_t *off) { znode_t *zp =3D VTOZ(vp); uint64_t noff =3D (uint64_t)*off; /* new offset */ --------------070801050601060405040702-- --------------enig994850BEBB1357A1CA6494F5 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGLKouOfuToMruuMARClZbAJ9fkkKs5oKmQQiBHQEWnzYPXny9SQCfQm0u kkyimZhJKcEsyyrTJxKw8MA= =vXoL -----END PGP SIGNATURE----- --------------enig994850BEBB1357A1CA6494F5--