Reapplied kernel.org commit f27ba...

This reverts commit e94d1a78cac66af4d7c17c74d14cde45a1ac965c.
[SCSI] sd: revive sd_index_lock

Backported from kernel.org commit "4034cc68157bfa0b6622efe368488d3d3e20f4e6"