* Re: [PATCH] fs/partitions/ibm.c compile fixes
[not found] <mailman.1012486827.28619.linux-kernel2news@redhat.com>
@ 2002-01-31 17:41 ` Pete Zaitcev
0 siblings, 0 replies; 2+ messages in thread
From: Pete Zaitcev @ 2002-01-31 17:41 UTC (permalink / raw)
To: rathamahata, Linux Kernel Mail List; +Cc: linux390
> - 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
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH] fs/partitions/ibm.c compile fixes
@ 2002-01-31 14:18 Sergey S. Kostyliov
0 siblings, 0 replies; 2+ messages in thread
From: Sergey S. Kostyliov @ 2002-01-31 14:18 UTC (permalink / raw)
To: Linux Kernel Mail List; +Cc: linux390
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 <rathamahata@php4.ru>
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;
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-01-31 17:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <mailman.1012486827.28619.linux-kernel2news@redhat.com>
2002-01-31 17:41 ` [PATCH] fs/partitions/ibm.c compile fixes Pete Zaitcev
2002-01-31 14:18 Sergey S. Kostyliov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®