From a181e61ca0119b8c3fd2daa4b8d23add2cda3ed0 Mon Sep 17 00:00:00 2001 From: Miklos Szeredi Date: Tue, 6 Nov 2001 12:03:23 +0000 Subject: bugfixes --- kernel/fuse_i.h | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) (limited to 'kernel/fuse_i.h') 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 #include #include +#include #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); /** -- cgit v1.2.3