Messages in this thread Patch in this message | | | Date | Sat, 21 Jan 2006 01:35:08 +0100 | From | Adrian Bunk <> | Subject | [2.6 patch] fs/ext2/: proper ext2_get_parent() prototype |
| |
This patch adds a proper prototype for ext2_get_parent().
Signed-off-by: Adrian Bunk <bunk@stusta.de>
---
fs/ext2/ext2.h | 3 +++ fs/ext2/super.c | 1 - 2 files changed, 3 insertions(+), 1 deletion(-)
--- linux-2.6.16-rc1-mm2-full/fs/ext2/ext2.h.old 2006-01-21 01:11:51.000000000 +0100 +++ linux-2.6.16-rc1-mm2-full/fs/ext2/ext2.h 2006-01-21 01:12:26.000000000 +0100 @@ -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))); --- linux-2.6.16-rc1-mm2-full/fs/ext2/super.c.old 2006-01-21 01:12:36.000000000 +0100 +++ linux-2.6.16-rc1-mm2-full/fs/ext2/super.c 2006-01-21 01:12:48.000000000 +0100 @@ -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, }; - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |