]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[SCSI] Unlock accesses to eh_deadline
authorHannes Reinecke <hare@suse.de>
Mon, 11 Nov 2013 12:44:55 +0000 (13:44 +0100)
committerJames Bottomley <JBottomley@Parallels.com>
Tue, 17 Dec 2013 14:26:29 +0000 (06:26 -0800)
commitc427c3212737363585ba77763df2f1bda87dbfe6
tree5050519d12360fa5fff4e945278fd3372cc16fe7
parent534b27fdf8745cfa20ae4839fe961309919e653c
[SCSI] Unlock accesses to eh_deadline

32bit accesses are guaranteed to be atomic, so we can remove
the spinlock when checking for eh_deadline. We only need to
make sure to catch any updates which might happened during
the call to time_before(); if so we just recheck with the
correct value.

Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/scsi_error.c