diff options
author | Peter Ujfalusi <peter.ujfalusi@ti.com> | 2017-09-21 14:35:32 +0300 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2017-09-21 23:03:42 +0530 |
commit | 2ccb4837c938357233a0b8818e3ca3e58242c952 (patch) | |
tree | 8fad3dac3958c7bbceb583cd940d34efde1d536e /fs/ntfs/compress.c | |
parent | 87a2f622cc6446c7d09ac655b7b9b04886f16a4c (diff) |
dmaengine: ti-dma-crossbar: Fix possible race condition with dma_inuse
When looking for unused xbar_out lane we should also protect the set_bit()
call with the same mutex to protect against concurrent threads picking the
same ID.
Fixes: ec9bfa1e1a796 ("dmaengine: ti-dma-crossbar: dra7: Use bitops instead of idr")
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Cc: stable@vger.kernel.org
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'fs/ntfs/compress.c')
0 files changed, 0 insertions, 0 deletions