summaryrefslogtreecommitdiffstats
path: root/fs/fuse/fuse_i.h
diff options
context:
space:
mode:
authorMiklos Szeredi <mszeredi@suse.cz>2015-07-01 16:26:04 +0200
committerMiklos Szeredi <mszeredi@suse.cz>2015-07-01 16:26:04 +0200
commite96edd94d0887707fc41c5d21d5b488edcd31689 (patch)
treeeba934e52d1c1155590b116a9561560273ce411d /fs/fuse/fuse_i.h
parent3a2b5b9cd9610f789f5e5f91a010d9fa3ca78632 (diff)
downloadlinux-e96edd94d0887707fc41c5d21d5b488edcd31689.tar.bz2
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>
Diffstat (limited to 'fs/fuse/fuse_i.h')
-rw-r--r--fs/fuse/fuse_i.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/fuse/fuse_i.h b/fs/fuse/fuse_i.h
index 3620eec018a4..5897d89ea2ba 100644
--- a/fs/fuse/fuse_i.h
+++ b/fs/fuse/fuse_i.h
@@ -402,6 +402,9 @@ struct fuse_iqueue {
};
struct fuse_pqueue {
+ /** Connection established */
+ unsigned connected;
+
/** The list of requests being processed */
struct list_head processing;