diff options
Diffstat (limited to 'fs/fuse/fuse_i.h')
| -rw-r--r-- | fs/fuse/fuse_i.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/fs/fuse/fuse_i.h b/fs/fuse/fuse_i.h index 59661c481d9d..0474202cb5dc 100644 --- a/fs/fuse/fuse_i.h +++ b/fs/fuse/fuse_i.h | |||
| @@ -258,9 +258,15 @@ struct fuse_conn { | |||
| 258 | /** waitq for blocked connection */ | 258 | /** waitq for blocked connection */ |
| 259 | wait_queue_head_t blocked_waitq; | 259 | wait_queue_head_t blocked_waitq; |
| 260 | 260 | ||
| 261 | /** RW semaphore for exclusion with fuse_put_super() */ | ||
| 262 | struct rw_semaphore sbput_sem; | ||
| 263 | |||
| 261 | /** The next unique request id */ | 264 | /** The next unique request id */ |
| 262 | u64 reqctr; | 265 | u64 reqctr; |
| 263 | 266 | ||
| 267 | /** Mount is active */ | ||
| 268 | unsigned mounted; | ||
| 269 | |||
| 264 | /** Connection established, cleared on umount, connection | 270 | /** Connection established, cleared on umount, connection |
| 265 | abort and device release */ | 271 | abort and device release */ |
| 266 | unsigned connected; | 272 | unsigned connected; |
| @@ -471,11 +477,11 @@ void request_send_noreply(struct fuse_conn *fc, struct fuse_req *req); | |||
| 471 | void request_send_background(struct fuse_conn *fc, struct fuse_req *req); | 477 | void request_send_background(struct fuse_conn *fc, struct fuse_req *req); |
| 472 | 478 | ||
| 473 | /** | 479 | /** |
| 474 | * Remove request from the the background list | 480 | * Release inodes and file associated with background request |
| 475 | */ | 481 | */ |
| 476 | void fuse_remove_background(struct fuse_conn *fc, struct fuse_req *req); | 482 | void fuse_release_background(struct fuse_conn *fc, struct fuse_req *req); |
| 477 | 483 | ||
| 478 | /** Abort all requests */ | 484 | /* Abort all requests */ |
| 479 | void fuse_abort_conn(struct fuse_conn *fc); | 485 | void fuse_abort_conn(struct fuse_conn *fc); |
| 480 | 486 | ||
| 481 | /** | 487 | /** |
