diff options
| author | Mike Marciniszyn <[email protected]> | 2016-04-20 13:05:30 +0000 |
|---|---|---|
| committer | Doug Ledford <[email protected]> | 2016-04-28 16:00:39 +0000 |
| commit | b9b06cb6fedab10665a2d527464b45f332d17465 (patch) | |
| tree | a4fd044efcf97647eefd215c660ae983348826fa /fs/btrfs/dev-replace.c | |
| parent | IB/rdmavt: Fix send scheduling (diff) | |
| download | kernel-b9b06cb6fedab10665a2d527464b45f332d17465.tar.gz kernel-b9b06cb6fedab10665a2d527464b45f332d17465.zip | |
IB/hfi1: Fix missing lock/unlock in verbs drain callback
The iowait_sdma_drained() callback lacked locking to
protect the qp s_flags field.
This causes the s_flags to be out of sync
on multiple CPUs, potentially corrupting the s_flags.
Fixes: a545f5308b6c ("staging/rdma/hfi: fix CQ completion order issue")
Reviewed-by: Sebastian Sanchez <[email protected]>
Signed-off-by: Mike Marciniszyn <[email protected]>
Reviewed-by: Leon Romanovsky <[email protected]>
Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions
