]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
[PATCH] jffs/jffs2: remove wrong function prototypes
authorAdrian Bunk <bunk@stusta.de>
Tue, 6 Sep 2005 22:17:23 +0000 (15:17 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 7 Sep 2005 23:57:29 +0000 (16:57 -0700)
This patch removes prototypes for the generic_file_open and
generic_file_llseek functions.

Besides being superfluous because they are already present in fs.h, they
were also wrong because the actual functions aren't weak functions.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/jffs/inode-v23.c
fs/jffs2/file.c

index bfbeb4c86e03af70713b00b55e846b7dde0fc8cf..777b90057b893968a2718fb3163407811947c146 100644 (file)
@@ -1629,9 +1629,6 @@ static int jffs_fsync(struct file *f, struct dentry *d, int datasync)
 }
 
 
-extern int generic_file_open(struct inode *, struct file *) __attribute__((weak));
-extern loff_t generic_file_llseek(struct file *, loff_t, int) __attribute__((weak));
-
 static struct file_operations jffs_file_operations =
 {
        .open           = generic_file_open,
index bd9ed9b0247b1d48de85680c7bed66e04b1787a2..8279bf0133ff573549c0570b707a447042fa4cf9 100644 (file)
@@ -21,9 +21,6 @@
 #include <linux/jffs2.h>
 #include "nodelist.h"
 
-extern int generic_file_open(struct inode *, struct file *) __attribute__((weak));
-extern loff_t generic_file_llseek(struct file *file, loff_t offset, int origin) __attribute__((weak));
-
 static int jffs2_commit_write (struct file *filp, struct page *pg,
                               unsigned start, unsigned end);
 static int jffs2_prepare_write (struct file *filp, struct page *pg,