Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Jul 2011 18:20:11 GMT
From:      Philipp Mergenthaler <un1i@rz.uni-karlsruhe.de>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/159230: [PATCH] fix sysutils/fusefs-kmod for the 64bit mount flags
Message-ID:  <201107271820.p6RIKBMW078473@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/159230; it has been noted by GNATS.

From: Philipp Mergenthaler <un1i@rz.uni-karlsruhe.de>
To: bug-followup@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--



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