commit | c47752673acb130e5132db0e52363e15be260ca4 | [log] [tgz] |
---|---|---|
author | Miklos Szeredi <mszeredi@suse.cz> | Wed Jul 01 16:26:00 2015 +0200 |
committer | Miklos Szeredi <mszeredi@suse.cz> | Wed Jul 01 16:26:00 2015 +0200 |
tree | c8c6c0c6f93ed25f20b0acff96c6c8c084910547 | |
parent | 7d2e0a099c7685a7355c27a2c3dc76ea7cfc8283 [diff] |
fuse: don't hold lock over request_wait_answer() Only hold fc->lock over sections of request_wait_answer() that actually need it. If wait_event_interruptible() returns zero, it means that the request finished. Need to add memory barriers, though, to make sure that all relevant data in the request is synchronized. Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>