diff options
author | Saeed Bishara <saeed@marvell.com> | 2010-12-21 16:53:39 +0200 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2011-01-03 01:39:26 -0800 |
commit | 8333f65ef094e47020cd01452b4637e7daf5a77f (patch) | |
tree | 1f41baeedeff9625d25e9c664d3bf762f3371855 | |
parent | 59a609d9b59be9452f168fe228befea53d5962ff (diff) | |
download | talos-op-linux-8333f65ef094e47020cd01452b4637e7daf5a77f.tar.gz talos-op-linux-8333f65ef094e47020cd01452b4637e7daf5a77f.zip |
mv_xor: fix race in tasklet function
use mv_xor_slot_cleanup() instead of __mv_xor_slot_cleanup() as the former function
aquires the spin lock that needed to protect the drivers data.
Cc: <stable@kernel.org>
Signed-off-by: Saeed Bishara <saeed@marvell.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
-rw-r--r-- | drivers/dma/mv_xor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/mv_xor.c b/drivers/dma/mv_xor.c index 411d5bf50fc4..a25f5f61e0e0 100644 --- a/drivers/dma/mv_xor.c +++ b/drivers/dma/mv_xor.c @@ -449,7 +449,7 @@ mv_xor_slot_cleanup(struct mv_xor_chan *mv_chan) static void mv_xor_tasklet(unsigned long data) { struct mv_xor_chan *chan = (struct mv_xor_chan *) data; - __mv_xor_slot_cleanup(chan); + mv_xor_slot_cleanup(chan); } static struct mv_xor_desc_slot * |