]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] fs/ext2/: proper ext2_get_parent() prototype
authorAdrian Bunk <bunk@stusta.de>
Fri, 24 Mar 2006 11:15:53 +0000 (03:15 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 24 Mar 2006 15:33:21 +0000 (07:33 -0800)
Add a proper prototype for ext2_get_parent().

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/ext2/ext2.h
fs/ext2/super.c

index 00de0a7312a268d0df23cf1e9429f095ef9c5e3d..11035ac7986f19a13d1f8485e573b2268f2c25ae 100644 (file)
@@ -138,6 +138,9 @@ extern void ext2_set_inode_flags(struct inode *inode);
 extern int ext2_ioctl (struct inode *, struct file *, unsigned int,
                       unsigned long);
 
+/* namei.c */
+struct dentry *ext2_get_parent(struct dentry *child);
+
 /* super.c */
 extern void ext2_error (struct super_block *, const char *, const char *, ...)
        __attribute__ ((format (printf, 3, 4)));
index cb6f9bd658de9646da588af8feacb64bbe1d3742..7f3899bdebabdaa4b7a358f5dce6ce48f9879e68 100644 (file)
@@ -258,7 +258,6 @@ static struct super_operations ext2_sops = {
  * systems, but can be improved upon.
  * Currently only get_parent is required.
  */
-struct dentry *ext2_get_parent(struct dentry *child);
 static struct export_operations ext2_export_ops = {
        .get_parent = ext2_get_parent,
 };