[patch] move name_to_dev_t prototype where it belongs
From: Pavel Machek (pavel_at_ucw.cz)
Date: 07/12/05
- Previous message: Nigel Cunningham: "Re: [PATCH] [39/48] Suspend2 2.1.9.8 for 2.6.12: 615-poweroff.patch"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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/
- Previous message: Nigel Cunningham: "Re: [PATCH] [39/48] Suspend2 2.1.9.8 for 2.6.12: 615-poweroff.patch"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|