Commit 2c221290 authored by Adrian Bunk's avatar Adrian Bunk Committed by Linus Torvalds

[PATCH] fs/ext2/: proper ext2_get_parent() prototype

Add a proper prototype for ext2_get_parent().
Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 29c6e486
...@@ -138,6 +138,9 @@ extern void ext2_set_inode_flags(struct inode *inode); ...@@ -138,6 +138,9 @@ extern void ext2_set_inode_flags(struct inode *inode);
extern int ext2_ioctl (struct inode *, struct file *, unsigned int, extern int ext2_ioctl (struct inode *, struct file *, unsigned int,
unsigned long); unsigned long);
/* namei.c */
struct dentry *ext2_get_parent(struct dentry *child);
/* super.c */ /* super.c */
extern void ext2_error (struct super_block *, const char *, const char *, ...) extern void ext2_error (struct super_block *, const char *, const char *, ...)
__attribute__ ((format (printf, 3, 4))); __attribute__ ((format (printf, 3, 4)));
......
...@@ -258,7 +258,6 @@ static struct super_operations ext2_sops = { ...@@ -258,7 +258,6 @@ static struct super_operations ext2_sops = {
* systems, but can be improved upon. * systems, but can be improved upon.
* Currently only get_parent is required. * Currently only get_parent is required.
*/ */
struct dentry *ext2_get_parent(struct dentry *child);
static struct export_operations ext2_export_ops = { static struct export_operations ext2_export_ops = {
.get_parent = ext2_get_parent, .get_parent = ext2_get_parent,
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment