diff options
author | Adrian Bunk <bunk@stusta.de> | 2006-03-24 06:15:53 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-24 10:33:21 -0500 |
commit | 2c2212901f8b3fc84f36cb98150cfc2f6b4752f8 (patch) | |
tree | 6acfa5cc4f27ef40ea9f8238db74c7930da169f6 /fs/ext2 | |
parent | 29c6e48601065908e7933c0d8440f383fffe155b (diff) |
[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>
Diffstat (limited to 'fs/ext2')
-rw-r--r-- | fs/ext2/ext2.h | 3 | ||||
-rw-r--r-- | fs/ext2/super.c | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/fs/ext2/ext2.h b/fs/ext2/ext2.h index 00de0a7312a2..11035ac7986f 100644 --- a/fs/ext2/ext2.h +++ b/fs/ext2/ext2.h | |||
@@ -138,6 +138,9 @@ extern void ext2_set_inode_flags(struct inode *inode); | |||
138 | extern int ext2_ioctl (struct inode *, struct file *, unsigned int, | 138 | extern int ext2_ioctl (struct inode *, struct file *, unsigned int, |
139 | unsigned long); | 139 | unsigned long); |
140 | 140 | ||
141 | /* namei.c */ | ||
142 | struct dentry *ext2_get_parent(struct dentry *child); | ||
143 | |||
141 | /* super.c */ | 144 | /* super.c */ |
142 | extern void ext2_error (struct super_block *, const char *, const char *, ...) | 145 | extern void ext2_error (struct super_block *, const char *, const char *, ...) |
143 | __attribute__ ((format (printf, 3, 4))); | 146 | __attribute__ ((format (printf, 3, 4))); |
diff --git a/fs/ext2/super.c b/fs/ext2/super.c index cb6f9bd658de..7f3899bdebab 100644 --- a/fs/ext2/super.c +++ b/fs/ext2/super.c | |||
@@ -258,7 +258,6 @@ static struct super_operations ext2_sops = { | |||
258 | * systems, but can be improved upon. | 258 | * systems, but can be improved upon. |
259 | * Currently only get_parent is required. | 259 | * Currently only get_parent is required. |
260 | */ | 260 | */ |
261 | struct dentry *ext2_get_parent(struct dentry *child); | ||
262 | static struct export_operations ext2_export_ops = { | 261 | static struct export_operations ext2_export_ops = { |
263 | .get_parent = ext2_get_parent, | 262 | .get_parent = ext2_get_parent, |
264 | }; | 263 | }; |