[patch] move name_to_dev_t prototype where it belongs

From: Pavel Machek (pavel_at_ucw.cz)
Date: 07/12/05

  • Next message: Nigel Cunningham: "Re: [PATCH] [33/48] Suspend2 2.1.9.8 for 2.6.12: 610-encryption.patch"
    Date:	Tue, 12 Jul 2005 10:30:19 +0200
    To: Andrew Morton <akpm@zip.com.au>, kernel list <linux-kernel@vger.kernel.org>
    
    

    ...this fixes warning in swsusp and removes two prototypes done "by
    hand".

    Signed-off-by: Pavel Machek <pavel@suse.cz>

    --- linux-good/include/linux/mount.h 2005-04-27 15:04:30.000000000 +0200
    +++ linux-struct/include/linux/mount.h 2005-07-12 10:24:53.000000000 +0200
    @@ -74,6 +74,7 @@
                             int mnt_flags, struct list_head *fslist);
     
     extern void mark_mounts_for_expiry(struct list_head *mounts);
    +extern dev_t name_to_dev_t(char *name);
     
     extern spinlock_t vfsmount_lock;
     
    --- linux-good/init/do_mounts.h 2005-04-27 15:04:30.000000000 +0200
    +++ linux-struct/init/do_mounts.h 2005-07-12 10:24:25.000000000 +0200
    @@ -9,7 +9,6 @@
     #include <linux/major.h>
     #include <linux/root_dev.h>
     
    -dev_t name_to_dev_t(char *name);
     void change_floppy(char *fmt, ...);
     void mount_block_root(char *name, int flags);
     void mount_root(void);
    --- linux-good/kernel/power/disk.c 2005-07-03 23:51:41.000000000 +0200
    +++ linux-struct/kernel/power/disk.c 2005-07-12 10:17:29.000000000 +0200
    @@ -16,6 +16,7 @@
     #include <linux/device.h>
     #include <linux/delay.h>
     #include <linux/fs.h>
    +#include <linux/mount.h>
     #include "power.h"
     
     
    --- linux-good/kernel/power/swsusp.c 2005-07-03 23:55:30.000000000 +0200
    +++ linux-struct/kernel/power/swsusp.c 2005-07-12 10:17:15.000000000 +0200
    @@ -1399,8 +1399,6 @@
             return error;
     }
     
    -extern dev_t name_to_dev_t(const char *line);
    -
     /**
      * read_pagedir - Read page backup list pages from swap
      */

    -- 
    teflon -- maybe it is a trademark, but it should not be.
    -
    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: Nigel Cunningham: "Re: [PATCH] [33/48] Suspend2 2.1.9.8 for 2.6.12: 610-encryption.patch"

    Relevant Pages

    • [RFC] enhanced version of net_random()
      ... really thread safe, but was immune to thread corruption. ... +void net_srandom(unsigned long entropy) ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • [PATCH] Add panic blinking to 2.6
      ... This patch readds the panic blinking that was in 2.4 ... NORET_TYPE void panic(const char * fmt, ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: 2.6.2-rc2-mm2
      ... The nfsd code does not need to check CAP_SETGID or> NGROUPS_MAX, ... Interestingly, nfsd_setuser returns void, so any error checking is moot. ... lack of any way to handle errors bothers me. ... 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/ ...
      (Linux-Kernel)
    • [2.6 patch] i386/x86_64 early_printk.c: make a variable static
      ... void early_printk(const char *fmt, ...) ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [PATCH] nmi_watchdog=2 and P4-HT
      ... If the CPU halts with local interrupts disabled (is this ... 1000 NMIs per ... void setup_apic_nmi_watchdog ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)