lkml.org 
[lkml]   [2008]   [May]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patches in this message
    /
    From
    Date
    Subject[PATCH 002 of 10] md: proper extern for mdp_major

    From: Adrian Bunk <bunk@kernel.org>

    This patch adds a proper extern for mdp_major in include/linux/raid/md.h

    Signed-off-by: Adrian Bunk <bunk@kernel.org>
    Signed-off-by: Neil Brown <neilb@suse.de>

    ### Diffstat output
    ./include/linux/raid/md.h | 2 ++
    ./init/do_mounts_md.c | 1 -
    2 files changed, 2 insertions(+), 1 deletion(-)

    diff .prev/include/linux/raid/md.h ./include/linux/raid/md.h
    --- .prev/include/linux/raid/md.h 2008-05-19 11:02:06.000000000 +1000
    +++ ./include/linux/raid/md.h 2008-05-19 11:02:24.000000000 +1000
    @@ -72,6 +72,8 @@
    */
    #define MD_PATCHLEVEL_VERSION 3

    +extern int mdp_major;
    +
    extern int register_md_personality (struct mdk_personality *p);
    extern int unregister_md_personality (struct mdk_personality *p);
    extern mdk_thread_t * md_register_thread (void (*run) (mddev_t *mddev),
    diff .prev/init/do_mounts_md.c ./init/do_mounts_md.c
    --- .prev/init/do_mounts_md.c 2008-05-19 11:02:06.000000000 +1000
    +++ ./init/do_mounts_md.c 2008-05-19 11:02:24.000000000 +1000
    @@ -24,7 +24,6 @@ static struct {

    static int md_setup_ents __initdata;

    -extern int mdp_major;
    /*
    * Parse the command-line parameters given our kernel, but do not
    * actually try to invoke the MD device now; that is handled by

    \
     
     \ /
      Last update: 2008-05-19 03:17    [W:0.020 / U:0.636 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site