aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jffs
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2005-09-06 15:17:23 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2005-09-07 16:57:29 -0700
commit5e1efe4931bf7d95b2f3d48ca0b79ea0e8341cc2 (patch)
tree6c3aff8c67e34bda6a2a36f2b65dc1b7ccd29c91 /fs/jffs
parent919532a54518c3a4a8258319e2bba0e07f69a925 (diff)
downloadkernel_samsung_aries-5e1efe4931bf7d95b2f3d48ca0b79ea0e8341cc2.zip
kernel_samsung_aries-5e1efe4931bf7d95b2f3d48ca0b79ea0e8341cc2.tar.gz
kernel_samsung_aries-5e1efe4931bf7d95b2f3d48ca0b79ea0e8341cc2.tar.bz2
[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/jffs')
-rw-r--r--fs/jffs/inode-v23.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/jffs/inode-v23.c b/fs/jffs/inode-v23.c
index bfbeb4c..777b900 100644
--- a/fs/jffs/inode-v23.c
+++ b/fs/jffs/inode-v23.c
@@ -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,