ports/159230: [PATCH] fix sysutils/fusefs-kmod for the 64bit mount flags
Philipp Mergenthaler
un1i at rz.uni-karlsruhe.de
Wed Jul 27 18:20:12 UTC 2011
The following reply was made to PR ports/159230; it has been noted by GNATS.
From: Philipp Mergenthaler <un1i at rz.uni-karlsruhe.de>
To: bug-followup at FreeBSD.org
Cc:
Subject: Re: ports/159230: [PATCH] fix sysutils/fusefs-kmod for the 64bit mount flags
Date: Wed, 27 Jul 2011 20:00:33 +0200
--CE+1k2dSO48ffgeK
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Here's an updated version of the patch that only uses uint64_t for -current.
There wasn't a bump of __FreeBSD_version for this commit, but the last one,
900040, is probably close enough.
--CE+1k2dSO48ffgeK
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="p.txt"
--- fuse_module/fuse_vfsops.c 2011-07-27 17:38:16.000000000 +0200
+++ fuse_module/fuse_vfsops.c.new 2011-07-27 17:40:49.000000000 +0200
@@ -231,7 +231,12 @@
struct cdev *fdev;
struct sx *slock;
struct fuse_data *data;
- int mntopts = 0, __mntopts = 0, max_read_set = 0, secondary = 0;
+#if __FreeBSD_version >= 900040
+ uint64_t mntopts = 0, __mntopts = 0;
+#else
+ int mntopts = 0, __mntopts = 0;
+#endif
+ int max_read_set = 0, secondary = 0;
unsigned max_read = ~0;
struct vnode *rvp;
struct fuse_vnode_data *fvdat;
--CE+1k2dSO48ffgeK--
More information about the freebsd-ports-bugs
mailing list