All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jeff Garzik <jgarzik@mandrakesoft.com>
To: Linus Torvalds <torvalds@transmeta.com>,
	axboe@suse.de, Linux-Kernel list <linux-kernel@vger.kernel.org>
Subject: PATCH 2.5.1.4: fix rd.c build
Date: Thu, 29 Nov 2001 20:18:39 -0500	[thread overview]
Message-ID: <3C06DE6F.746DA60A@mandrakesoft.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 221 bytes --]

...just a missed s/bio_size/foo->bi_size/ conversion. please apply.
-- 
Jeff Garzik      | Only so many songs can be sung
Building 1024    | with two lips, two lungs, and one tongue.
MandrakeSoft     |         - nomeansno

[-- Attachment #2: rd.patch --]
[-- Type: text/plain, Size: 652 bytes --]

Index: drivers/block/rd.c
===================================================================
RCS file: /cvsroot/gkernel/linux_2_5/drivers/block/rd.c,v
retrieving revision 1.3
diff -u -r1.3 rd.c
--- drivers/block/rd.c	2001/11/30 01:10:57	1.3
+++ drivers/block/rd.c	2001/11/30 01:17:24
@@ -239,7 +239,7 @@
 
 	index = sbh->bi_sector >> (PAGE_CACHE_SHIFT - 9);
 	offset = (sbh->bi_sector << 9) & ~PAGE_CACHE_MASK;
-	size = bio_size(sbh);
+	size = sbh->bi_size;
 
 	do {
 		int count;
@@ -323,7 +323,7 @@
 		goto fail;
 
 	offset = sbh->bi_sector << 9;
-	len = bio_size(sbh);
+	len = sbh->bi_size;
 
 	if ((offset + len) > rd_length[minor])
 		goto fail;

             reply	other threads:[~2001-11-30  1:19 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-30  1:18 Jeff Garzik [this message]
2001-11-30  7:18 ` PATCH 2.5.1.4: fix rd.c build Jens Axboe
2001-11-30  7:24   ` Alexander Viro
2001-11-30  7:28     ` Jens Axboe
2001-11-30  7:37       ` Alexander Viro
2001-11-30  7:44         ` Jens Axboe

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=3C06DE6F.746DA60A@mandrakesoft.com \
    --to=jgarzik@mandrakesoft.com \
    --cc=axboe@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@transmeta.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.