Fix LDM compilation.

Fix LDM compilation.

Post by Anton Altaparmako » Wed, 17 Apr 2002 19:30:10



Hi Marcelo,

Please apply below patch which fixes LDM compilation in 2.4.19-pre7 (there
is a missing header file include).

Best regards,

        Anton
--

Linux NTFS maintainer / WWW: http://linux-ntfs.sf.net/
IRC: #ntfs on irc.openprojects.net / ICQ: 8561279
WWW: http://www-stu.christs.cam.ac.uk/~aia21/

--- ldm-2.4.patch ---
# This is a BitKeeper generated patch for the following project:
# Project Name: Linux kernel tree
# This patch format is intended for GNU patch command version 2.5 or higher.
# This patch includes the following deltas:
#                  ChangeSet    1.417   -> 1.418  
#        fs/partitions/ldm.c    1.4     -> 1.5    
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------

# LDM: Add missing include.
# --------------------------------------------
#
diff -Nru a/fs/partitions/ldm.c b/fs/partitions/ldm.c
--- a/fs/partitions/ldm.c       Tue Apr 16 11:18:59 2002

 #include <linux/genhd.h>
 #include <linux/blkdev.h>
 #include <linux/slab.h>
+#include <linux/pagemap.h>
 #include "check.h"
 #include "ldm.h"
 #include "msdos.h"

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

1. 2.4.18-rc3 Minor LDM fix

Hi Marcelo,

Please can you apply this minor patch to fs/partitions/ldm.c
(support for Windows Dynamic Disks)

Cheers,
  FlatCap (Rich)

Some people have problems reading the end of the LDM database
which is at the end of the physical disk.  This patch reduces
a couple of minor checks, to just debug output.

diff -urN linux-2.4.18-rc3/fs/partitions/ldm.c linux-2.4.18-rc3-ldm/fs/partitions/ldm.c
--- linux-2.4.18-rc3/fs/partitions/ldm.c        Tue Jul 23 13:19:23 2002

        err = parse_privhead(data, ph3);
        put_dev_sector(sect);
        if (err != 1)
-               goto out;
+               printk(LDM_DEBUG "Couldn't read the third PRIVHEAD.\n");
        err = compare_privheads(ph1, ph2);
        if (err != 1) {

        }
        err = compare_privheads(ph1, ph3);
        if (err != 1)
-               printk(LDM_CRIT "First and third PRIVHEADs don't match.\n");
+               printk(LDM_DEBUG "First and third PRIVHEADs don't match.\n");
        else
                /* We _could_ have checked more. */
                ldm_debug("Validated PRIVHEADs successfully.\n");

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

2. How to correct the ODM menu?

3. Fix for macros in fs/partitions/ldm.h

4. Questions on: Who am I

5. 2.4.8 -- LDM build fix

6. readline --> Vi mode

7. Fixing ACPI compilation, fixing CONFIG_ACPI_BOOT

8. System() function in C++

9. Fix macserial driver compilation

10. Patch?: linux-2.5.45/net/ipv4/netfilter dst.pmtu compilation fixes

11. fix sound/oss/ics2101.c compilation

12. Compilation errors on Redhat 6.0 box... how do I fix this?

13. Fix compilation errors in ppa and imm modules