Re: Error (ZFS) make kernel 7.0-CURRENT 23.04.2007

From: LI Xin <delphij_at_delphij.net>
Date: Mon, 23 Apr 2007 20:44:30 +0800
Try this patch.

Cheers,
-- 
Xin LI <delphij_at_delphij.net>	http://www.delphij.net/
FreeBSD - The Power to Serve!

Index: opensolaris/uts/common/fs/zfs/zfs_vnops.c
===================================================================
RCS file: /home/ncvs/src/sys/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.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
_at__at_ -188,7 +188,7 _at__at_ zfs_close(vnode_t *vp, int flag, int cou
  * data (cmd == _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 = VTOZ(vp);
 	uint64_t noff = (uint64_t)*off; /* new offset */

Received on Mon Apr 23 2007 - 10:44:45 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:09 UTC