aboutsummaryrefslogtreecommitdiffstats
path: root/fs/sysv
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2006-12-22 04:07:09 -0500
committerLinus Torvalds <torvalds@woody.osdl.org>2006-12-22 11:55:47 -0500
commit3b2b96abbf321891bdde5412d23bc4123c6cccec (patch)
tree1b90419a0e06d2713752ed4261b7c836f7c86cc1 /fs/sysv
parent99eea6a105106a94758724ccce996607f60bc0f2 (diff)
[PATCH] fs/sysv/: proper prototypes for 2 functions
Add proper prototypes for sysv_{init,destroy}_icache() in sysv.h Signed-off-by: Adrian Bunk <bunk@stusta.de> Acked-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/sysv')
-rw-r--r--fs/sysv/super.c3
-rw-r--r--fs/sysv/sysv.h3
2 files changed, 3 insertions, 3 deletions
diff --git a/fs/sysv/super.c b/fs/sysv/super.c
index dc9e7dc07fb7..6f9707a1b954 100644
--- a/fs/sysv/super.c
+++ b/fs/sysv/super.c
@@ -528,9 +528,6 @@ static struct file_system_type v7_fs_type = {
528 .fs_flags = FS_REQUIRES_DEV, 528 .fs_flags = FS_REQUIRES_DEV,
529}; 529};
530 530
531extern int sysv_init_icache(void) __init;
532extern void sysv_destroy_icache(void);
533
534static int __init init_sysv_fs(void) 531static int __init init_sysv_fs(void)
535{ 532{
536 int error; 533 int error;
diff --git a/fs/sysv/sysv.h b/fs/sysv/sysv.h
index 9dcc82120935..dcb18b2171fe 100644
--- a/fs/sysv/sysv.h
+++ b/fs/sysv/sysv.h
@@ -143,6 +143,9 @@ extern int sysv_sync_inode(struct inode *);
143extern int sysv_sync_file(struct file *, struct dentry *, int); 143extern int sysv_sync_file(struct file *, struct dentry *, int);
144extern void sysv_set_inode(struct inode *, dev_t); 144extern void sysv_set_inode(struct inode *, dev_t);
145extern int sysv_getattr(struct vfsmount *, struct dentry *, struct kstat *); 145extern int sysv_getattr(struct vfsmount *, struct dentry *, struct kstat *);
146extern int sysv_init_icache(void);
147extern void sysv_destroy_icache(void);
148
146 149
147/* dir.c */ 150/* dir.c */
148extern struct sysv_dir_entry *sysv_find_entry(struct dentry *, struct page **); 151extern struct sysv_dir_entry *sysv_find_entry(struct dentry *, struct page **);