aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/fuse.h17
1 files changed, 17 insertions, 0 deletions
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 @@ enum fuse_opcode {
FUSE_LINK,
FUSE_OPEN,
FUSE_READ,
+ FUSE_WRITE,
};
/* Conservative buffer size for the client */
@@ -64,6 +65,10 @@ struct fuse_lookup_out {
struct fuse_attr attr;
};
+struct fuse_forget_in {
+ int version;
+};
+
struct fuse_getattr_out {
struct fuse_attr attr;
};
@@ -104,6 +109,10 @@ struct fuse_setattr_in {
unsigned int valid;
};
+struct fuse_setattr_out {
+ unsigned long long newsize;
+};
+
struct fuse_open_in {
unsigned int flags;
};
@@ -113,10 +122,18 @@ struct fuse_read_in {
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 {