patch-2.2.3 linux/drivers/scsi/sr_ioctl.c
Next file: linux/drivers/scsi/st.c
Previous file: linux/drivers/scsi/sd_ioctl.c
Back to the patch index
Back to the overall index
- Lines: 12
- Date:
Wed Feb 24 16:27:54 1999
- Orig file:
v2.2.2/linux/drivers/scsi/sr_ioctl.c
- Orig date:
Wed Sep 9 14:51:09 1998
diff -u --recursive --new-file v2.2.2/linux/drivers/scsi/sr_ioctl.c linux/drivers/scsi/sr_ioctl.c
@@ -872,6 +872,11 @@
read_ahead[MAJOR(cdi->dev)] = arg;
return 0;
+ case BLKSSZGET:
+ /* Block size of media */
+ return put_user(blksize_size[MAJOR(cdi->dev)][MINOR(cdi->dev)],
+ (int *)arg);
+
RO_IOCTLS(cdi->dev,arg);
case BLKFLSBUF:
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)