patch-2.4.19 linux-2.4.19/fs/partitions/check.c
Next file: linux-2.4.19/fs/partitions/ibm.c
Previous file: linux-2.4.19/fs/partitions/acorn.c
Back to the patch index
Back to the overall index
- Lines: 19
- Date:
Fri Aug 2 17:39:45 2002
- Orig file:
linux-2.4.18/fs/partitions/check.c
- Orig date:
Mon Feb 25 11:38:09 2002
diff -urN linux-2.4.18/fs/partitions/check.c linux-2.4.19/fs/partitions/check.c
@@ -77,13 +77,17 @@
/*
* This is ucking fugly but its probably the best thing for 2.4.x
- * Take it as a clear reminder than we should put the device name
+ * Take it as a clear reminder that: 1) we should put the device name
* generation in the object kdev_t points to in 2.5.
+ * and 2) ioctls better work on half-opened devices.
*/
#ifdef CONFIG_ARCH_S390
int (*genhd_dasd_name)(char*,int,int,struct gendisk*) = NULL;
+int (*genhd_dasd_ioctl)(struct inode *inp, struct file *filp,
+ unsigned int no, unsigned long data);
EXPORT_SYMBOL(genhd_dasd_name);
+EXPORT_SYMBOL(genhd_dasd_ioctl);
#endif
/*
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)