fusefs-kmod broken?
Ian FREISLICH
ianf at clue.co.za
Mon Aug 23 14:57:46 UTC 2010
Ian FREISLICH wrote:
> So, in this case is the fusefs module broken? I'm guessing it is.
> I don't like the way fuse_fileops is initialised in fuse4bsd. I
> would prefer for the struct to be zeroed and then the fo_xxx
> implimented bits set as appropriate. That way when the struct is
> changed, you don't get stung again.
I am an idiot - that will have no effect. This patch needs to be
included in sysutils/fusefs-kmod/files
--
Ian Freislich
patch-fuse_module__fuse_main.c
--- fuse_module/fuse_main.c.orig 2010-08-23 16:52:20.000000000 +0200
+++ fuse_module/fuse_main.c 2010-08-23 16:48:17.000000000 +0200
@@ -108,6 +108,7 @@
switch (what) {
case MOD_LOAD: /* kldload */
+ fuse_fileops.fo_truncate = vnops.fo_truncate;
fuse_fileops.fo_ioctl = vnops.fo_ioctl;
fuse_fileops.fo_poll = vnops.fo_poll;
fuse_fileops.fo_kqfilter = vnops.fo_kqfilter;
More information about the freebsd-current
mailing list