aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/fuse_i.h
diff options
context:
space:
mode:
authorMiklos Szeredi <miklos@szeredi.hu>2006-04-21 14:09:28 +0000
committerMiklos Szeredi <miklos@szeredi.hu>2006-04-21 14:09:28 +0000
commit5fe07d61983e16d6311d9c1a19d0a3b0a8a25266 (patch)
tree5e31746c3f60873071604485717bf6c57a0bc6fb /kernel/fuse_i.h
parent7a2814c8b45e667822ed5c2ce0b8b2c9ce5d2692 (diff)
downloadlibfuse-5fe07d61983e16d6311d9c1a19d0a3b0a8a25266.tar.gz
fix
Diffstat (limited to 'kernel/fuse_i.h')
-rw-r--r--kernel/fuse_i.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/kernel/fuse_i.h b/kernel/fuse_i.h
index d8a1ac8..1693b05 100644
--- a/kernel/fuse_i.h
+++ b/kernel/fuse_i.h
@@ -355,9 +355,15 @@ struct fuse_conn {
/** waitq for blocked connection */
wait_queue_head_t blocked_waitq;
+ /** RW semaphore for exclusion with fuse_put_super() */
+ struct rw_semaphore sbput_sem;
+
/** The next unique request id */
u64 reqctr;
+ /** Mount is active */
+ unsigned mounted;
+
/** Connection established, cleared on umount, connection
abort and device release */
unsigned connected;
@@ -570,9 +576,9 @@ void request_send_noreply(struct fuse_conn *fc, struct fuse_req *req);
void request_send_background(struct fuse_conn *fc, struct fuse_req *req);
/**
- * Remove request from the the background list
+ * Release inodes and file associated with background request
*/
-void fuse_remove_background(struct fuse_conn *fc, struct fuse_req *req);
+void fuse_release_background(struct fuse_conn *fc, struct fuse_req *req);
/** Abort all requests */
void fuse_abort_conn(struct fuse_conn *fc);