mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Sergey S. Kostyliov" <rathamahata@php4.ru>
To: Linux Kernel Mail List <linux-kernel@vger.kernel.org>
Cc: linux390@de.ibm.com
Subject: [PATCH] fs/partitions/ibm.c compile fixes
Date: Thu, 31 Jan 2002 17:18:13 +0300	[thread overview]
Message-ID: <E16WHjA-0005Hk-01@mail.unix.ru> (raw)

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, &sect);
+	data = read_dev_sector(bdev, info->label_block*blocksize, &sect);
 	if (!data)
 		return 0;
 

             reply	other threads:[~2002-01-31 14:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-31 14:18 Sergey S. Kostyliov [this message]
     [not found] <mailman.1012486827.28619.linux-kernel2news@redhat.com>
2002-01-31 17:41 ` Pete Zaitcev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E16WHjA-0005Hk-01@mail.unix.ru \
    --to=rathamahata@php4.ru \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux390@de.ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®