mirror of
https://gitee.com/openharmony/kernel_linux
synced 2024-12-15 02:42:04 +00:00
[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>
This commit is contained in:
parent
fa8f399a2b
commit
f5b95ff010
@ -230,3 +230,6 @@ static inline int __simple_empty(struct dentry *dentry)
|
||||
out:
|
||||
return ret;
|
||||
}
|
||||
|
||||
void autofs4_dentry_release(struct dentry *);
|
||||
|
||||
|
@ -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,
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user