Commit f4760183 authored by James Bottomley's avatar James Bottomley

Merge raven.il.steeleye.com:/home/jejb/BK/scsi-locking-2.5

into raven.il.steeleye.com:/home/jejb/BK/scsi-misc-2.5
parents a5f55d73 bb9e1c7a
...@@ -123,7 +123,7 @@ static int sd_major(int major_idx) ...@@ -123,7 +123,7 @@ static int sd_major(int major_idx)
case 1 ... 7: case 1 ... 7:
return SCSI_DISK1_MAJOR + major_idx - 1; return SCSI_DISK1_MAJOR + major_idx - 1;
case 8 ... 15: case 8 ... 15:
return SCSI_DISK8_MAJOR + major_idx; return SCSI_DISK8_MAJOR + major_idx - 8;
default: default:
BUG(); BUG();
return 0; /* shut up gcc */ return 0; /* shut up gcc */
......
Markdown is supported
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