bugfixes
diff --git a/include/linux/fuse.h b/include/linux/fuse.h
index 5fe008c..a6e74df 100644
--- a/include/linux/fuse.h
+++ b/include/linux/fuse.h
@@ -54,6 +54,7 @@
FUSE_LINK,
FUSE_OPEN,
FUSE_READ,
+ FUSE_WRITE,
};
/* Conservative buffer size for the client */
@@ -64,6 +65,10 @@
struct fuse_attr attr;
};
+struct fuse_forget_in {
+ int version;
+};
+
struct fuse_getattr_out {
struct fuse_attr attr;
};
@@ -104,6 +109,10 @@
unsigned int valid;
};
+struct fuse_setattr_out {
+ unsigned long long newsize;
+};
+
struct fuse_open_in {
unsigned int flags;
};
@@ -113,10 +122,18 @@
unsigned int size;
};
+struct fuse_write_in {
+ unsigned long long offset;
+ unsigned int size;
+ char buf[1];
+};
+
struct fuse_in_header {
int unique;
enum fuse_opcode opcode;
unsigned long ino;
+ unsigned int uid;
+ unsigned int gid;
};
struct fuse_out_header {