Skip to content

Commit 2c22129

Browse files
AdrianBunkLinus Torvalds
authored andcommitted
[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>
1 parent 29c6e48 commit 2c22129

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

‎fs/ext2/ext2.h‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,9 @@ extern void ext2_set_inode_flags(struct inode *inode);
138138
extern int ext2_ioctl (struct inode *, struct file *, unsigned int,
139139
unsigned long);
140140

141+
/* namei.c */
142+
struct dentry *ext2_get_parent(struct dentry *child);
143+
141144
/* super.c */
142145
extern void ext2_error (struct super_block *, const char *, const char *, ...)
143146
__attribute__ ((format (printf, 3, 4)));

‎fs/ext2/super.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,6 @@ static struct super_operations ext2_sops = {
258258
* systems, but can be improved upon.
259259
* Currently only get_parent is required.
260260
*/
261-
struct dentry *ext2_get_parent(struct dentry *child);
262261
static struct export_operations ext2_export_ops = {
263262
.get_parent = ext2_get_parent,
264263
};

0 commit comments

Comments
 (0)