fuse: duplicate ->connected in pqueue

This will allow checking ->connected just with the processing queue lock.

Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Reviewed-by: Ashish Samant <ashish.samant@oracle.com>
This commit is contained in:
Miklos Szeredi
2015-07-01 16:26:04 +02:00
parent 3a2b5b9cd9
commit e96edd94d0
3 changed files with 8 additions and 3 deletions

View File

@@ -402,6 +402,9 @@ struct fuse_iqueue {
};
struct fuse_pqueue {
/** Connection established */
unsigned connected;
/** The list of requests being processed */
struct list_head processing;