PATCH 2.5.1.4: fix rd.c build

PATCH 2.5.1.4: fix rd.c build

Post by Jeff Garzi » Sat, 01 Dec 2001 10:30:07



...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

[ rd.patch < 1K ]
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

        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 {

                goto fail;

        offset = sbh->bi_sector << 9;
-       len = bio_size(sbh);
+       len = sbh->bi_size;

        if ((offset + len) > rd_length[minor])
                goto fail;

 
 
 

1. PATCH: linux-2.5.2-pre7/drivers/block/rd.c kdev_t fix

        The following patch fixes a kdev_t compilation problem
in linux-2.5.2-pre7/drivers/block/rd.c.  Note that I have not yet
gotten 2.5.2-pre7 to fully build, so this patch is untested.

--
Adam J. Richter     __     ______________   4880 Stevens Creek Blvd, Suite 104

+1 408 261-6630         | g g d r a s i l   United States of America
fax +1 408 261-6631      "Free Software For The Rest Of Us."

  rd.diff
< 1K Download

2. MMDF alias problem

3. PATCH: fix ALi 32bitisms, fix ALi FIFO, fix ALi IRQ crash

4. Changing your domain name...

5. PATCH: fix radio-cadet build

6. Restriction of ps command

7. PATCH: fix orinoco build

8. strange sendmail "feature"

9. PATCH: fix fd_mcs build for scsi changes, mca compt

10. PATCH: fix non SMP acpi build

11. PATCH 2.5.2.6: fix cpuid, msr builds

12. PATCH: 2.5.28 Fix multiple driver build failures due to missing include

13. PATCH 2.5.2.9: fbdev kdev_t build fixes