lkml.org 
[lkml]   [2006]   [Jan]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
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/

\
 
 \ /
  Last update: 2006-01-21 01:38    [W:0.037 / U:0.408 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site