]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
ext4: Move fs/ext4/namei.h into ext4.h
authorTheodore Ts'o <tytso@mit.edu>
Fri, 1 May 2009 17:49:15 +0000 (13:49 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 1 May 2009 17:49:15 +0000 (13:49 -0400)
The fs/ext4/namei.h header file had only a single function
declaration, and should have never been a standalone file.  Move it
into ext4.h, where should have been from the beginning.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/ext4.h
fs/ext4/namei.c
fs/ext4/namei.h [deleted file]
fs/ext4/super.c

index af3c906e705bb2799839ea098f63fb5477310cec..d9c5251d082c47a26962a7444ad37a22da7ff44d 100644 (file)
@@ -1594,6 +1594,7 @@ extern const struct file_operations ext4_file_operations;
 /* namei.c */
 extern const struct inode_operations ext4_dir_inode_operations;
 extern const struct inode_operations ext4_special_inode_operations;
+extern struct dentry *ext4_get_parent(struct dentry *child);
 
 /* symlink.c */
 extern const struct inode_operations ext4_symlink_inode_operations;
index 8018e49a72875a59a967141938f5e79ba53bd3c2..c9690b250e5e1fc312bb761bdd8f64a086584083 100644 (file)
@@ -37,7 +37,6 @@
 #include "ext4.h"
 #include "ext4_jbd2.h"
 
-#include "namei.h"
 #include "xattr.h"
 #include "acl.h"
 
diff --git a/fs/ext4/namei.h b/fs/ext4/namei.h
deleted file mode 100644 (file)
index 5e4dfff..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-/*  linux/fs/ext4/namei.h
- *
- * Copyright (C) 2005 Simtec Electronics
- *     Ben Dooks <ben@simtec.co.uk>
- *
-*/
-
-extern struct dentry *ext4_get_parent(struct dentry *child);
index 1fbf0906ae2eff6cff7625bf76de9543612d1ac5..d79e1c428b4a03043d7e8dc808f7cfe86b06788d 100644 (file)
@@ -46,7 +46,6 @@
 #include "ext4_jbd2.h"
 #include "xattr.h"
 #include "acl.h"
-#include "namei.h"
 #include "group.h"
 
 struct proc_dir_entry *ext4_proc_root;