Commit 2c2212901f8b3fc84f36cb98150cfc2f6b4752f8
Committed by
Linus Torvalds
1 parent
29c6e48601
Exists in
master
and in
4 other branches
[PATCH] fs/ext2/: proper ext2_get_parent() prototype
Add a proper prototype for ext2_get_parent(). Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Showing 2 changed files with 3 additions and 1 deletions Side-by-side Diff
fs/ext2/ext2.h
| ... | ... | @@ -138,6 +138,9 @@ |
| 138 | 138 | extern int ext2_ioctl (struct inode *, struct file *, unsigned int, |
| 139 | 139 | unsigned long); |
| 140 | 140 | |
| 141 | +/* namei.c */ | |
| 142 | +struct dentry *ext2_get_parent(struct dentry *child); | |
| 143 | + | |
| 141 | 144 | /* super.c */ |
| 142 | 145 | extern void ext2_error (struct super_block *, const char *, const char *, ...) |
| 143 | 146 | __attribute__ ((format (printf, 3, 4))); |
fs/ext2/super.c
| ... | ... | @@ -258,7 +258,6 @@ |
| 258 | 258 | * systems, but can be improved upon. |
| 259 | 259 | * Currently only get_parent is required. |
| 260 | 260 | */ |
| 261 | -struct dentry *ext2_get_parent(struct dentry *child); | |
| 262 | 261 | static struct export_operations ext2_export_ops = { |
| 263 | 262 | .get_parent = ext2_get_parent, |
| 264 | 263 | }; |