Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Apr 2007 20:44:30 +0800
From:      LI Xin <delphij@delphij.net>
To:        "Andrei V. Lavreniyuk" <bamston@reactor-xg.kiev.ua>
Cc:        current@freebsd.org
Subject:   Re: Error   (ZFS) make kernel 7.0-CURRENT 23.04.2007
Message-ID:  <462CAA2E.5060606@delphij.net>
In-Reply-To: <200704231542.33743.bamston@reactor-xg.kiev.ua>
References:  <200704231542.33743.bamston@reactor-xg.kiev.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <delphij@delphij.net>	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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?462CAA2E.5060606>