diff options
author | Miklos Szeredi <miklos@szeredi.hu> | 2005-04-22 12:04:55 +0000 |
---|---|---|
committer | Miklos Szeredi <miklos@szeredi.hu> | 2005-04-22 12:04:55 +0000 |
commit | 0111f9dbe43a8c4ae516d3eb470186770894c5bf (patch) | |
tree | 6112c59cbfcebc262d88ae10d1e06d92e0fcd142 /kernel/fuse_i.h | |
parent | d001bf9915e651dd301c29aafe0b7e777a1ae7cf (diff) | |
download | libfuse-0111f9dbe43a8c4ae516d3eb470186770894c5bf.tar.gz |
fix
Diffstat (limited to 'kernel/fuse_i.h')
-rw-r--r-- | kernel/fuse_i.h | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/kernel/fuse_i.h b/kernel/fuse_i.h index 373f36d..164eaa7 100644 --- a/kernel/fuse_i.h +++ b/kernel/fuse_i.h @@ -101,10 +101,6 @@ static inline void set_page_dirty_lock(struct page *page) /** Bypass the page cache for read and write operations */ #define FUSE_DIRECT_IO (1 << 3) -/** Allow root and setuid-root programs to access fuse-mounted - filesystems */ -#define FUSE_ALLOW_ROOT (1 << 4) - /** FUSE inode */ struct fuse_inode { /** Inode data */ @@ -260,11 +256,8 @@ struct fuse_req { * unmounted. */ struct fuse_conn { - /** The superblock of the mounted filesystem */ - struct super_block *sb; - - /** The opened client device */ - struct file *file; + /** Reference count */ + int count; /** The user id for this mount */ uid_t user_id; @@ -307,6 +300,12 @@ struct fuse_conn { /** The next unique request id */ int reqctr; + /** Mount is active */ + unsigned mounted : 1; + + /** Connection established */ + unsigned connected : 1; + /** Connection failed (version mismatch) */ unsigned conn_error : 1; |