Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Using waitqueue_active() is racy. Make sure we issue a wake_up() unconditionally after storing into fc->blocked. After that it's okay to optimize with waitqueue_active() since the first wake up provides the necessary barrier for all waiters, not the just the woken one. Signed-off-by: Miklos Szeredi <[email protected]> Fixes: 3c18ef8 ("fuse: optimize wake_up") Cc: <[email protected]> # v3.10
- Loading branch information