fuse: separate out processing queue
This is just two fields: fc->io and fc->processing.
This patch just rearranges the fields, no functional change.
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Reviewed-by: Ashish Samant <ashish.samant@oracle.com>
diff --git a/fs/fuse/fuse_i.h b/fs/fuse/fuse_i.h
index e8be4611..3620eec 100644
--- a/fs/fuse/fuse_i.h
+++ b/fs/fuse/fuse_i.h
@@ -401,6 +401,14 @@
struct fasync_struct *fasync;
};
+struct fuse_pqueue {
+ /** The list of requests being processed */
+ struct list_head processing;
+
+ /** The list of requests under I/O */
+ struct list_head io;
+};
+
/**
* A Fuse connection.
*
@@ -435,11 +443,8 @@
/** Input queue */
struct fuse_iqueue iq;
- /** The list of requests being processed */
- struct list_head processing;
-
- /** The list of requests under I/O */
- struct list_head io;
+ /** Processing queue */
+ struct fuse_pqueue pq;
/** The next unique kernel file handle */
u64 khctr;