summaryrefslogtreecommitdiffstats
path: root/fs/fuse/cuse.c
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/cuse.c
parentf88996a93324483ff3ec027312bbacacf97a555b (diff)
downloadlinux-e16714d8756dc1237a66994e139b61feebcf707a.tar.gz
linux-e16714d8756dc1237a66994e139b61feebcf707a.tar.bz2
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/cuse.c')
-rw-r--r--fs/fuse/cuse.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/fuse/cuse.c b/fs/fuse/cuse.c
index e5bbf748b698..0993d9a266d3 100644
--- a/fs/fuse/cuse.c
+++ b/fs/fuse/cuse.c
@@ -502,7 +502,6 @@ static int cuse_channel_open(struct inode *inode, struct file *file)
INIT_LIST_HEAD(&cc->list);
cc->fc.release = cuse_fc_release;
- cc->fc.connected = 1;
cc->fc.initialized = 1;
rc = cuse_send_init(cc);
if (rc) {