[2.6 patch] small partitions/msdos cleanups (fwd) (fwd) (fwd)

From: Adrian Bunk (bunk_at_stusta.de)
Date: 01/07/05

  • Next message: Alan Cox: "Re: [BUG][2.6.8.1] serial driver hangs SMP kernel, but not the UP kernel"
    Date:	Fri, 7 Jan 2005 03:59:23 +0100
    To: Andrew Morton <akpm@osdl.org>
    
    

    The patch forwarded below (already ACK'ed by Andries Brouwer) still
    applies and compiles against 2.6.10-mm2.

    Please apply.

    ----- Forwarded message from Adrian Bunk <bunk@stusta.de> -----

    Date: Tue, 14 Dec 2004 02:10:11 +0100
    From: Adrian Bunk <bunk@stusta.de>
    To: Andrew Morton <akpm@osdl.org>
    Cc: aeb@cwi.nl, linux-kernel@vger.kernel.org
    Subject: [2.6 patch] small partitions/msdos cleanups (fwd) (fwd)

    The patch forwarded below (already ACK'ed by Andries Brouwer) still
    applies and compiles against 2.6.10-rc3-mm1.

    Please apply.

    ----- Forwarded message from Adrian Bunk <bunk@stusta.de> -----

    Date: Tue, 7 Dec 2004 20:35:26 +0100
    From: Adrian Bunk <bunk@stusta.de>
    To: Andrew Morton <akpm@osdl.org>
    Cc: aeb@cwi.nl, linux-kernel@vger.kernel.org
    Subject: [2.6 patch] small partitions/msdos cleanups (fwd)

    The patch forwarded below (already ACK'ed by Andries Brouwer) still
    applies and compiles against 2.6.10-rc2-mm4.

    Please apply.

    ----- Forwarded message from Adrian Bunk <bunk@stusta.de> -----

    Date: Sat, 30 Oct 2004 19:59:37 +0200
    From: Adrian Bunk <bunk@stusta.de>
    To: aeb@cwi.nl
    Cc: linux-kernel@vger.kernel.org
    Subject: [2.6 patch] small partitions/msdos cleanups

    The patch below makes the following changes to the msdos partition code:
    - remove CONFIG_NEC98_PARTITION leftovers
    - make parse_bsd static

    diffstat output:
     fs/partitions/Makefile | 1 -
     fs/partitions/check.c | 3 ---
     fs/partitions/check.h | 4 ----
     fs/partitions/msdos.c | 4 ++--
     4 files changed, 2 insertions(+), 10 deletions(-)

    Signed-off-by: Adrian Bunk <bunk@stusta.de>

    --- linux-2.6.10-rc1-mm2-full/fs/partitions/Makefile.old 2004-10-30 14:42:03.000000000 +0200
    +++ linux-2.6.10-rc1-mm2-full//fs/partitions/Makefile 2004-10-30 14:42:13.000000000 +0200
    @@ -17,4 +17,3 @@
     obj-$(CONFIG_ULTRIX_PARTITION) += ultrix.o
     obj-$(CONFIG_IBM_PARTITION) += ibm.o
     obj-$(CONFIG_EFI_PARTITION) += efi.o
    -obj-$(CONFIG_NEC98_PARTITION) += nec98.o msdos.o
    --- linux-2.6.10-rc1-mm2-full/fs/partitions/check.h.old 2004-10-30 14:40:20.000000000 +0200
    +++ linux-2.6.10-rc1-mm2-full//fs/partitions/check.h 2004-10-30 14:40:41.000000000 +0200
    @@ -30,7 +30,3 @@
     
     extern int warn_no_part;
     
    -extern void parse_bsd(struct parsed_partitions *state,
    - struct block_device *bdev, u32 offset, u32 size,
    - int origin, char *flavour, int max_partitions);
    -
    --- linux-2.6.10-rc1-mm2-full/fs/partitions/check.c.old 2004-10-30 14:41:32.000000000 +0200
    +++ linux-2.6.10-rc1-mm2-full//fs/partitions/check.c 2004-10-30 14:41:43.000000000 +0200
    @@ -76,9 +76,6 @@
     #ifdef CONFIG_LDM_PARTITION
             ldm_partition, /* this must come before msdos */
     #endif
    -#ifdef CONFIG_NEC98_PARTITION
    - nec98_partition, /* must be come before `msdos_partition' */
    -#endif
     #ifdef CONFIG_MSDOS_PARTITION
             msdos_partition,
     #endif
    --- linux-2.6.10-rc1-mm2-full/fs/partitions/msdos.c.old 2004-10-30 14:38:38.000000000 +0200
    +++ linux-2.6.10-rc1-mm2-full//fs/partitions/msdos.c 2004-10-30 14:41:57.000000000 +0200
    @@ -202,12 +202,12 @@
     #endif
     }
     
    -#if defined(CONFIG_BSD_DISKLABEL) || defined(CONFIG_NEC98_PARTITION)
    +#if defined(CONFIG_BSD_DISKLABEL)
     /*
      * Create devices for BSD partitions listed in a disklabel, under a
      * dos-like partition. See parse_extended() for more information.
      */
    -void
    +static void
     parse_bsd(struct parsed_partitions *state, struct block_device *bdev,
                     u32 offset, u32 size, int origin, char *flavour,
                     int max_partitions)

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

    ----- End forwarded message -----

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

    ----- End forwarded message -----

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

    ----- End forwarded message -----

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


  • Next message: Alan Cox: "Re: [BUG][2.6.8.1] serial driver hangs SMP kernel, but not the UP kernel"

    Relevant Pages

    • [2.4 patch] fix a compile warning in tipar.c (fwd) (fwd)
      ... the patch forwarded below still applies and compiles against ... 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/ ...
      (Linux-Kernel)
    • [2.6 patch] small partitions/msdos cleanups (fwd) (fwd)
      ... The patch forwarded below (already ACK'ed by Andries Brouwer) still ... applies and compiles against 2.6.10-rc3-mm1. ... The patch below makes the following changes to the msdos partition code: ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • [2.4 patch] fix a compile warning in amd76x_pm.c (fwd) (fwd)
      ... the patch forwarded below still applies and compiles against ... 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/ ...
      (Linux-Kernel)
    • [2.4 patch] agpgart_be.c: remove dupliacte PCI_DEVICE_ID_SI_651 entry (fwd) (fwd)
      ... the trivial patch forwarded below still applies and compiles against ... 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/ ...
      (Linux-Kernel)
    • Re: 2.6.0-test5: ISDN kcapi.c no longer compiles (fwd)
      ... Subject: 2.6.0-test5: ISDN kcapi.c no longer compiles ... +#ifdef MODULE ... send the line "unsubscribe linux-kernel" in ... Please read the FAQ at http://www.tux.org/lkml/ ...
      (Linux-Kernel)