From: Adrian Bunk Date: Tue, 28 Mar 2006 09:56:29 +0000 (-0800) Subject: [PATCH] autofs4: proper prototype for autofs4_dentry_release() X-Git-Tag: v2.6.17-rc1~241 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f5b95ff010d0a4e40f877277f8f0e62fcd83b5a8;p=linux-2.6 [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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/fs/autofs4/autofs_i.h b/fs/autofs4/autofs_i.h index 617fd7b374..c70204a612 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) out: return ret; } + +void autofs4_dentry_release(struct dentry *); + diff --git a/fs/autofs4/inode.c b/fs/autofs4/inode.c index 4eddee4e76..fde78b110d 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) return ino; } -void autofs4_dentry_release(struct dentry *); static struct dentry_operations autofs4_sb_dentry_operations = { .d_release = autofs4_dentry_release, };