Merge by hand (conflicts in sr.c)
authorJames Bottomley <jejb@titanic.(none)>
Sun, 28 Aug 2005 16:40:00 +0000 (11:40 -0500)
committerJames Bottomley <jejb@titanic.(none)>
Sun, 28 Aug 2005 16:40:00 +0000 (11:40 -0500)
1  2 
drivers/scsi/sr.c

@@@ -736,8 -729,9 +717,7 @@@ out
  
  Enomem:
        cd->capacity = 0x1fffff;
-       sector_size = 2048;     /* A guess, just in case */
-       cd->needs_sector_size = 1;
+       cd->device->sector_size = 2048; /* A guess, just in case */
 -      if (SRpnt)
 -              scsi_release_request(SRpnt);
        goto out;
  }