diff options
| author | 2015-07-01 16:26:00 +0200 | |
|---|---|---|
| committer | 2015-07-01 16:26:00 +0200 | |
| commit | c47752673acb130e5132db0e52363e15be260ca4 (patch) | |
| tree | c8c6c0c6f93ed25f20b0acff96c6c8c084910547 /lib/test-string_helpers.c | |
| parent | fuse: simplify unique ctr (diff) | |
| download | wireguard-linux-c47752673acb130e5132db0e52363e15be260ca4.tar.xz wireguard-linux-c47752673acb130e5132db0e52363e15be260ca4.zip | |
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>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions
