diff options
author | Adrian Bunk <bunk@stusta.de> | 2006-03-28 04:56:29 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-28 12:16:03 -0500 |
commit | f5b95ff010d0a4e40f877277f8f0e62fcd83b5a8 (patch) | |
tree | dd9b8f58a16fec4746fb58a0848a36916b1f86f1 | |
parent | fa8f399a2bc36c1329672400857757e0982babf3 (diff) |
[PATCH] autofs4: proper prototype for autofs4_dentry_release()
Add a proper prototype for autofs4_dentry_release() to autofs_i.h.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r-- | fs/autofs4/autofs_i.h | 3 | ||||
-rw-r--r-- | fs/autofs4/inode.c | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/fs/autofs4/autofs_i.h b/fs/autofs4/autofs_i.h index 617fd7b37447..c70204a61268 100644 --- a/fs/autofs4/autofs_i.h +++ b/fs/autofs4/autofs_i.h | |||
@@ -230,3 +230,6 @@ static inline int __simple_empty(struct dentry *dentry) | |||
230 | out: | 230 | out: |
231 | return ret; | 231 | return ret; |
232 | } | 232 | } |
233 | |||
234 | void autofs4_dentry_release(struct dentry *); | ||
235 | |||
diff --git a/fs/autofs4/inode.c b/fs/autofs4/inode.c index 4eddee4e76fc..fde78b110ddd 100644 --- a/fs/autofs4/inode.c +++ b/fs/autofs4/inode.c | |||
@@ -292,7 +292,6 @@ static struct autofs_info *autofs4_mkroot(struct autofs_sb_info *sbi) | |||
292 | return ino; | 292 | return ino; |
293 | } | 293 | } |
294 | 294 | ||
295 | void autofs4_dentry_release(struct dentry *); | ||
296 | static struct dentry_operations autofs4_sb_dentry_operations = { | 295 | static struct dentry_operations autofs4_sb_dentry_operations = { |
297 | .d_release = autofs4_dentry_release, | 296 | .d_release = autofs4_dentry_release, |
298 | }; | 297 | }; |