diff options
author | Maxim Patlasov <mpatlasov@parallels.com> | 2013-03-21 10:02:28 -0400 |
---|---|---|
committer | Miklos Szeredi <mszeredi@suse.cz> | 2013-04-17 06:31:45 -0400 |
commit | 0aada88476a33690c9569b094191ce92a38e6541 (patch) | |
tree | 4aef3365654d4751154dc825731af721661fcef2 /fs/fuse/cuse.c | |
parent | 796523fb24028639c007f71e02ca21730f7c0af6 (diff) |
fuse: skip blocking on allocations of synchronous requests
A task may have at most one synchronous request allocated. So these
requests need not be otherwise limited.
The patch re-works fuse_get_req() to follow this idea.
Signed-off-by: Maxim Patlasov <mpatlasov@parallels.com>
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Diffstat (limited to 'fs/fuse/cuse.c')
-rw-r--r-- | fs/fuse/cuse.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/fuse/cuse.c b/fs/fuse/cuse.c index f563e78852b7..c59c097eb2e9 100644 --- a/fs/fuse/cuse.c +++ b/fs/fuse/cuse.c | |||
@@ -504,7 +504,6 @@ static int cuse_channel_open(struct inode *inode, struct file *file) | |||
504 | cc->fc.release = cuse_fc_release; | 504 | cc->fc.release = cuse_fc_release; |
505 | 505 | ||
506 | cc->fc.connected = 1; | 506 | cc->fc.connected = 1; |
507 | cc->fc.blocked = 0; | ||
508 | cc->fc.initialized = 1; | 507 | cc->fc.initialized = 1; |
509 | rc = cuse_send_init(cc); | 508 | rc = cuse_send_init(cc); |
510 | if (rc) { | 509 | if (rc) { |