lkml.org 
[lkml]   [2001]   [Nov]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectPATCH 2.5.1.4: fix rd.c build
...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 | - nomeansnoIndex: 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;
\
 
 \ /
  Last update: 2005-03-22 13:13    [W:0.048 / U:2.664 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site