aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/fuse_i.h
diff options
context:
space:
mode:
authorMiklos Szeredi <miklos@szeredi.hu>2001-11-06 12:03:23 +0000
committerMiklos Szeredi <miklos@szeredi.hu>2001-11-06 12:03:23 +0000
commita181e61ca0119b8c3fd2daa4b8d23add2cda3ed0 (patch)
tree57176d5ca8f96008180eac92518791ef22add726 /kernel/fuse_i.h
parent5e183482b09cec20f54ccb44e767a7fab51833e9 (diff)
downloadlibfuse-a181e61ca0119b8c3fd2daa4b8d23add2cda3ed0.tar.gz
bugfixes
Diffstat (limited to 'kernel/fuse_i.h')
-rw-r--r--kernel/fuse_i.h17
1 files changed, 4 insertions, 13 deletions
diff --git a/kernel/fuse_i.h b/kernel/fuse_i.h
index aaa395d..b738bed 100644
--- a/kernel/fuse_i.h
+++ b/kernel/fuse_i.h
@@ -10,6 +10,7 @@
#include <linux/fs.h>
#include <linux/list.h>
#include <linux/spinlock.h>
+#include <linux/rwsem.h>
#define FUSE_VERSION "0.1"
@@ -38,15 +39,6 @@ struct fuse_conn {
/** The list of requests being processed */
struct list_head processing;
- /** The number of cleared inodes */
- unsigned int numcleared;
-
- /** The array of cleared inode numbers */
- unsigned long *cleared;
-
- /** Connnection number (for debuging) */
- int id;
-
/** The request id */
int reqctr;
};
@@ -70,8 +62,7 @@ struct fuse_req {
/** The request input */
char *in;
- /** The maximum request output size, if zero, then the request is
- asynchronous */
+ /** The maximum request output size */
unsigned int outsize;
/** The request output */
@@ -98,7 +89,7 @@ struct fuse_out {
void *arg;
};
-#define FUSE_IN_INIT { {0, 0, 0}, 0, 0 }
+#define FUSE_IN_INIT { {0, 0, 0, current->fsuid, current->fsgid}, 0, 0 }
#define FUSE_OUT_INIT { {0, 0}, 0, 0, 0 }
@@ -117,7 +108,7 @@ extern spinlock_t fuse_lock;
* Get a filled in inode
*/
struct inode *fuse_iget(struct super_block *sb, ino_t ino,
- struct fuse_attr *attr);
+ struct fuse_attr *attr, int version);
/**