[2.6 patch] fs/ext2/: proper ext2_get_parent() prototype

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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(-)

--- 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux