fs/ext2/: proper ext2_get_parent() prototype
PATCH 1/1 fs/ext2/: proper ext2_get_parent() prototype
This patch adds a proper prototype for ext2_get_parent().
Signed-off-by Adrian Bunk <[email protected]>
---
fs/ext2/ext2.h | 3 +++ fs/ext2/super.c | 1 - 2 files changed, 3 insertions(+), 1 deletion(-)
fs/ext2/ext2.h renamed from fs/ext2/ext2.h.old +3 -0
@@ -138,6 +138,9 @@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 )));
fs/ext2/super.c renamed from fs/ext2/super.c.old +0 -1
@@ -253,7 +253,6 @@* 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, };