diff options
author | Adrian Bunk <bunk@stusta.de> | 2005-09-07 00:17:23 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-09-08 01:57:29 +0200 |
commit | 5e1efe4931bf7d95b2f3d48ca0b79ea0e8341cc2 (patch) | |
tree | 6c3aff8c67e34bda6a2a36f2b65dc1b7ccd29c91 /fs/jffs2 | |
parent | [PATCH] fs/Kconfig: quota help text updates (diff) | |
download | linux-5e1efe4931bf7d95b2f3d48ca0b79ea0e8341cc2.tar.xz linux-5e1efe4931bf7d95b2f3d48ca0b79ea0e8341cc2.zip |
[PATCH] jffs/jffs2: remove wrong function prototypes
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>
Diffstat (limited to 'fs/jffs2')
-rw-r--r-- | fs/jffs2/file.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/jffs2/file.c b/fs/jffs2/file.c index bd9ed9b0247b..8279bf0133ff 100644 --- a/fs/jffs2/file.c +++ b/fs/jffs2/file.c @@ -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, |