summaryrefslogtreecommitdiffstats
path: root/fs/fuse/fuse_i.h
diff options
context:
space:
mode:
authorMiklos Szeredi <mszeredi@suse.cz>2015-07-01 16:26:01 +0200
committerMiklos Szeredi <mszeredi@suse.cz>2015-07-01 16:26:01 +0200
commite16714d8756dc1237a66994e139b61feebcf707a (patch)
tree149f1106ae65abfb03e892a295f15d3a17477672 /fs/fuse/fuse_i.h
parentfuse: separate out input queue (diff)
downloadlinux-e16714d8756dc1237a66994e139b61feebcf707a.tar.xz
linux-e16714d8756dc1237a66994e139b61feebcf707a.zip
fuse: duplicate ->connected in iqueue
This will allow checking ->connected just with the input 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 3d075417042a..e8be4611fb8e 100644
--- a/fs/fuse/fuse_i.h
+++ b/fs/fuse/fuse_i.h
@@ -375,6 +375,9 @@ struct fuse_req {
};
struct fuse_iqueue {
+ /** Connection established */
+ unsigned connected;
+
/** Readers of the connection are waiting on this */
wait_queue_head_t waitq;