Commit 1b4d0d8e authored by James Bottomley's avatar James Bottomley
Browse files

[SCSI] libsas: fix deref before check in commit 70b25f89

commit 70b25f89


Author: Tejun Heo <tj@kernel.org>
Date:   Thu Apr 15 09:00:08 2010 +0900

    [SCSI] fix locking around blk_abort_request()

Introduced a reference before check problem, fix this by moving the
lock shorthand code to be right at the point of actual use.

Reported-by: default avatarDan Carpenter <error27@gmail.com>
Acked-by: default avatarTejun Heo <tj@kernel.org>
Cc: Stable Tree <stable@kernel.org>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@suse.de>
parent b5dbc858
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment