PATCH: Replaces bio_size macro in drivers/block/rd.c

From: Alex Valys (avalys@optonline.net)
Date: Thu Nov 29 2001 - 20:57:28 EST


Found an unresolved symbol in rd.c while compiling 2.5.1-pre4.

--- drivers/block/rd.c Thu Nov 29 20:50:17 2001
+++ drivers/block/rd.c Thu Nov 29 20:51:30 2001
@@ -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;

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Nov 30 2001 - 21:00:36 EST