aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/scsi_sysfs.c
diff options
context:
space:
mode:
authorHannes Reinecke <hare@suse.de>2013-11-11 13:44:55 +0100
committerJames Bottomley <JBottomley@Parallels.com>2013-12-19 07:39:02 -0800
commit76ad3e5956bf0bc8871ebd19ebda03f2287c966a (patch)
tree5a0b923d78bc2d68f860a55356a8eed8ab95f1bc /drivers/scsi/scsi_sysfs.c
parent[SCSI] improved eh timeout handler (diff)
downloadlinux-dev-76ad3e5956bf0bc8871ebd19ebda03f2287c966a.tar.xz
linux-dev-76ad3e5956bf0bc8871ebd19ebda03f2287c966a.zip
[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>
Diffstat (limited to 'drivers/scsi/scsi_sysfs.c')
0 files changed, 0 insertions, 0 deletions