Re: [PATCH] mv_xor: fix race in tasklet function

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dan, can you please merge this patch?

On Tue, Dec 21, 2010 at 4:53 PM, Saeed Bishara <saeed@xxxxxxxxxxx> wrote:
> 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.
>
> Signed-off-by: Saeed Bishara <saeed@xxxxxxxxxxx>
> ---
> Â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 411d5bf..a25f5f6 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 *
> --
> 1.6.0.4
>
>
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux