Hello all,
This patch against 2.4.18-pre7 fixes two obvious typos and make
fs/partitions/ibm.c to be compiled.
Also needed for both 2.5.3 and 2.5.2-dj7
--
Best regards,
Sergey S. Kostyliov <[email protected]>
diff -urN linux-2.4.18-pre7/fs/partitions/ibm.c linux/fs/partitions/ibm.c
--- linux-2.4.18-pre7/fs/partitions/ibm.c Mon Oct 1 23:03:26 2001
+++ linux/fs/partitions/ibm.c Thu Jan 31 07:21:28 2002
@@ -123,7 +123,7 @@
GFP_KERNEL);
if ( geo == NULL )
return 0;
- if (ioctl_by_bdev(bdev, HDIO_GETGEO, (unsigned long)geo);
+ if (ioctl_by_bdev(bdev, HDIO_GETGEO, (unsigned long)geo))
return 0;
blocksize = hardsect_size[MAJOR(dev)][MINOR(dev)];
if ( blocksize <= 0 ) {
@@ -131,7 +131,7 @@
}
blocksize >>= 9;
- data = read_dev_sector(bdev, inode->label_block*blocksize, §);
+ data = read_dev_sector(bdev, info->label_block*blocksize, §);
if (!data)
return 0;
> - if (ioctl_by_bdev(bdev, HDIO_GETGEO, (unsigned long)geo);
> + if (ioctl_by_bdev(bdev, HDIO_GETGEO, (unsigned long)geo))
> @@ -131,7 +131,7 @@
> - data = read_dev_sector(bdev, inode->label_block*blocksize, §);
> + data = read_dev_sector(bdev, info->label_block*blocksize, §);
I did that too, but 2.4.17 does not boot for me on a 31-bit VM.
It's probably not bootable in nature. I wish IBM people updated
actual kernels instead of posting pachsets on developerwoks
website.
-- Pete