freebsd-ports/net/glusterfs/files/patch-contrib_fuse-lib_mount.c
Florian Smeets 32e7d4c3b3 Update to 8.0, this is a collaborative effort between Daniel Morante and
myself.

- update to 8.0
- make it possible to mount gluster volumes on boot [1]
- reset maintainer [1], I would have set it to ports@ but Daniel volunteered
  to maintain the port
- add pkg-message to point out that procfs is required for some operations
  like "gluster volume status" which is also required for self healing. [2]

This version works although I still see the same memory leak as with the
3.X series.

PR:		236112 [1], 223671 [2]
Submitted by:	Daniel Morante <daniel@morante.net>, flo
Obtained from:	https://github.com/tuaris/freebsd-glusterfs7
Differential Revision:	D25037
2020-07-29 20:33:59 +00:00

10 lines
521 B
C

--- contrib/fuse-lib/mount.c.orig 2020-07-06 01:22:37 UTC
+++ contrib/fuse-lib/mount.c
@@ -390,6 +390,7 @@ fuse_mount_sys (const char *mountpoint, char *fsname,
build_iovec (&iov, &iovlen, "from", "/dev/fuse", -1);
build_iovec (&iov, &iovlen, "volname", source, -1);
build_iovec (&iov, &iovlen, "fd", fdstr, -1);
+ build_iovec (&iov, &iovlen, "allow_other", NULL, -1);
ret = nmount (iov, iovlen, mountflags);
#else
ret = mount (source, mountpoint, fstype, mountflags,