diff options
author | Miklos Szeredi <mszeredi@suse.cz> | 2015-07-01 16:26:04 +0200 |
---|---|---|
committer | Miklos Szeredi <mszeredi@suse.cz> | 2015-07-01 16:26:04 +0200 |
commit | e96edd94d0887707fc41c5d21d5b488edcd31689 (patch) | |
tree | eba934e52d1c1155590b116a9561560273ce411d /fs/fuse/fuse_i.h | |
parent | 3a2b5b9cd9610f789f5e5f91a010d9fa3ca78632 (diff) | |
download | op-kernel-dev-e96edd94d0887707fc41c5d21d5b488edcd31689.zip op-kernel-dev-e96edd94d0887707fc41c5d21d5b488edcd31689.tar.gz |
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.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/fuse/fuse_i.h b/fs/fuse/fuse_i.h index 3620eec..5897d89 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; |