[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20061211204225.GI28443@stusta.de>
Date: Mon, 11 Dec 2006 21:42:25 +0100
From: Adrian Bunk <bunk@...sta.de>
To: hch@...radead.org
Cc: linux-kernel@...r.kernel.org
Subject: [2.6 patch] fs/sysv/: proper prototypes for 2 functions
This patch adds proper prototypes for sysv_{init,destroy}_icache()
in sysv.h
Signed-off-by: Adrian Bunk <bunk@...sta.de>
---
fs/sysv/super.c | 3 ---
fs/sysv/sysv.h | 3 +++
2 files changed, 3 insertions(+), 3 deletions(-)
--- linux-2.6.19-rc6-mm2/fs/sysv/sysv.h.old 2006-11-29 09:21:02.000000000 +0100
+++ linux-2.6.19-rc6-mm2/fs/sysv/sysv.h 2006-11-29 09:21:52.000000000 +0100
@@ -143,6 +143,9 @@
extern int sysv_sync_file(struct file *, struct dentry *, int);
extern void sysv_set_inode(struct inode *, dev_t);
extern int sysv_getattr(struct vfsmount *, struct dentry *, struct kstat *);
+extern int sysv_init_icache(void);
+extern void sysv_destroy_icache(void);
+
/* dir.c */
extern struct sysv_dir_entry *sysv_find_entry(struct dentry *, struct page **);
--- linux-2.6.19-rc6-mm2/fs/sysv/super.c.old 2006-11-29 09:21:55.000000000 +0100
+++ linux-2.6.19-rc6-mm2/fs/sysv/super.c 2006-11-29 09:22:04.000000000 +0100
@@ -528,9 +528,6 @@
.fs_flags = FS_REQUIRES_DEV,
};
-extern int sysv_init_icache(void) __init;
-extern void sysv_destroy_icache(void);
-
static int __init init_sysv_fs(void)
{
int error;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists