Skip to content
Commit c4775267 authored by Miklos Szeredi's avatar Miklos Szeredi
Browse files

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: default avatarMiklos Szeredi <mszeredi@suse.cz>
parent 7d2e0a09
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment