Skip to contentSkip to conversation

2.5.22: ibm partition support.

PATCH New Martin Schwidefsky 1 participant 1 message Jun 17, 2002

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 2.5.22: ibm partition support.

Hi Linus,
another resend of the partition patch for ibm.c. Nobody sent a veto so far so please add it.

blues skies,
Martin.

fs/partitions/Makefile +1 -1
diff -urN linux-2.5.22/fs/partitions/Makefile linux-2.5.22-s390/fs/partitions/Makefile
@@ -2,7 +2,7 @@
 # Makefile for the linux kernel.
 #
 
-export-objs := check.o ibm.o msdos.o
+export-objs := check.o msdos.o
 
 obj-y := check.o
 
fs/partitions/check.c +5 -1
diff -urN linux-2.5.22/fs/partitions/check.c linux-2.5.22-s390/fs/partitions/check.c
@@ -83,13 +83,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
 
 /*
fs/partitions/ibm.c +158 -127

326 lines not on this page · raw message