patch-2.3.27 linux/drivers/scsi/scsi_ioctl.c
Next file: linux/drivers/scsi/scsi_proc.c
Previous file: linux/drivers/scsi/scsi_debug.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Thu Nov 11 16:57:30 1999
- Orig file:
v2.3.26/linux/drivers/scsi/scsi_ioctl.c
- Orig date:
Sat Oct 9 11:47:50 1999
diff -u --recursive --new-file v2.3.26/linux/drivers/scsi/scsi_ioctl.c linux/drivers/scsi/scsi_ioctl.c
@@ -404,7 +404,7 @@
put_user(dev->id
+ (dev->lun << 8)
+ (dev->channel << 16)
- + ((dev->host->hostt->proc_dir->low_ino & 0xff) << 24),
+ + ((dev->host->host_no & 0xff) << 24),
&((Scsi_Idlun *) arg)->dev_id);
put_user(dev->host->unique_id, &((Scsi_Idlun *) arg)->host_unique_id);
return 0;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)