db9a921ee0
Changes since previous verion, from the NEWS file 2.8.x: - More scalable directory tree locking - Atomic open(O_TRUNC) support - Support big write requests on kernels 2.6.26 and newer - Out-of-tree fuse module removed - Better NFS exporting support - New ioctl and poll requests - New CUSE (Character Device in Userspace) interface - Allow umask processing in userspace - Added cache invalidation notifications - Bugfixes and small improvements 2.7.x: - Stacking support for the high level API - Add filename charset conversion module - Improved mounting 2.6.x! - Improved read characteristics (asynchronous reads) - Support for aborting filesystem connection - POSIX file locking support - Request interruption support - Building module for Linux kernels earlier than 2.6.9 not supported - Allow block device based filesystems to support swap files - Several bugs fixed, including a rare system hang on SMP
27 lines
911 B
Text
27 lines
911 B
Text
$NetBSD: patch-ai,v 1.1 2010/08/25 08:02:21 manu Exp $
|
|
|
|
NetBSD has the same build oddities af FreeBSD.
|
|
--- ./include/fuse_lowlevel_compat.h.orig 2010-07-25 15:21:50.000000000 +0200
|
|
+++ ./include/fuse_lowlevel_compat.h 2010-07-25 15:22:20.000000000 +0200
|
|
@@ -71,9 +71,9 @@
|
|
|
|
char *fuse_add_dirent(char *buf, const char *name, const struct stat *stbuf,
|
|
off_t off);
|
|
|
|
-#ifndef __FreeBSD__
|
|
+#if !defined(__FreeBSD__) && !defined(__NetBSD__)
|
|
|
|
#include <sys/statfs.h>
|
|
|
|
struct fuse_lowlevel_ops_compat {
|
|
@@ -138,9 +138,9 @@
|
|
struct fuse_session *fuse_lowlevel_new_compat(const char *opts,
|
|
const struct fuse_lowlevel_ops_compat *op,
|
|
size_t op_size, void *userdata);
|
|
|
|
-#endif /* __FreeBSD__ */
|
|
+#endif /* __FreeBSD__ || __NetBSD__ */
|
|
|
|
struct fuse_chan_ops_compat24 {
|
|
int (*receive)(struct fuse_chan *ch, char *buf, size_t size);
|
|
int (*send)(struct fuse_chan *ch, const struct iovec iov[],
|