diff options
author | Theodore Ts'o <tytso@mit.edu> | 2009-05-01 13:49:15 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2009-05-01 13:49:15 -0400 |
commit | 596397b77c895d0fa3674f579c94ad5ea88ef01d (patch) | |
tree | bd4f9916556b4d5bc59ee4b5171248df44e2c5c4 /fs | |
parent | ca0faba0e8ac844dc0279825eb8db876b5962ea5 (diff) |
ext4: Move fs/ext4/namei.h into ext4.h
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>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/ext4/ext4.h | 1 | ||||
-rw-r--r-- | fs/ext4/namei.c | 1 | ||||
-rw-r--r-- | fs/ext4/namei.h | 8 | ||||
-rw-r--r-- | fs/ext4/super.c | 1 |
4 files changed, 1 insertions, 10 deletions
diff --git a/fs/ext4/ext4.h b/fs/ext4/ext4.h index af3c906e705b..d9c5251d082c 100644 --- a/fs/ext4/ext4.h +++ b/fs/ext4/ext4.h | |||
@@ -1594,6 +1594,7 @@ extern const struct file_operations ext4_file_operations; | |||
1594 | /* namei.c */ | 1594 | /* namei.c */ |
1595 | extern const struct inode_operations ext4_dir_inode_operations; | 1595 | extern const struct inode_operations ext4_dir_inode_operations; |
1596 | extern const struct inode_operations ext4_special_inode_operations; | 1596 | extern const struct inode_operations ext4_special_inode_operations; |
1597 | extern struct dentry *ext4_get_parent(struct dentry *child); | ||
1597 | 1598 | ||
1598 | /* symlink.c */ | 1599 | /* symlink.c */ |
1599 | extern const struct inode_operations ext4_symlink_inode_operations; | 1600 | extern const struct inode_operations ext4_symlink_inode_operations; |
diff --git a/fs/ext4/namei.c b/fs/ext4/namei.c index 8018e49a7287..c9690b250e5e 100644 --- a/fs/ext4/namei.c +++ b/fs/ext4/namei.c | |||
@@ -37,7 +37,6 @@ | |||
37 | #include "ext4.h" | 37 | #include "ext4.h" |
38 | #include "ext4_jbd2.h" | 38 | #include "ext4_jbd2.h" |
39 | 39 | ||
40 | #include "namei.h" | ||
41 | #include "xattr.h" | 40 | #include "xattr.h" |
42 | #include "acl.h" | 41 | #include "acl.h" |
43 | 42 | ||
diff --git a/fs/ext4/namei.h b/fs/ext4/namei.h deleted file mode 100644 index 5e4dfff36a00..000000000000 --- a/fs/ext4/namei.h +++ /dev/null | |||
@@ -1,8 +0,0 @@ | |||
1 | /* linux/fs/ext4/namei.h | ||
2 | * | ||
3 | * Copyright (C) 2005 Simtec Electronics | ||
4 | * Ben Dooks <ben@simtec.co.uk> | ||
5 | * | ||
6 | */ | ||
7 | |||
8 | extern struct dentry *ext4_get_parent(struct dentry *child); | ||
diff --git a/fs/ext4/super.c b/fs/ext4/super.c index 1fbf0906ae2e..d79e1c428b4a 100644 --- a/fs/ext4/super.c +++ b/fs/ext4/super.c | |||
@@ -46,7 +46,6 @@ | |||
46 | #include "ext4_jbd2.h" | 46 | #include "ext4_jbd2.h" |
47 | #include "xattr.h" | 47 | #include "xattr.h" |
48 | #include "acl.h" | 48 | #include "acl.h" |
49 | #include "namei.h" | ||
50 | #include "group.h" | 49 | #include "group.h" |
51 | 50 | ||
52 | struct proc_dir_entry *ext4_proc_root; | 51 | struct proc_dir_entry *ext4_proc_root; |