提交 c6287315 编写于 作者: A Al Viro

generic_detach_inode() can be static now

Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
上级 2bbbda30
......@@ -1234,7 +1234,7 @@ EXPORT_SYMBOL(generic_delete_inode);
*
* Returns 1 if inode should be completely destroyed.
*/
int generic_detach_inode(struct inode *inode)
static int generic_detach_inode(struct inode *inode)
{
struct super_block *sb = inode->i_sb;
......@@ -1264,7 +1264,6 @@ int generic_detach_inode(struct inode *inode)
spin_unlock(&inode_lock);
return 1;
}
EXPORT_SYMBOL_GPL(generic_detach_inode);
static void generic_forget_inode(struct inode *inode)
{
......
......@@ -2167,7 +2167,6 @@ extern ino_t iunique(struct super_block *, ino_t);
extern int inode_needs_sync(struct inode *inode);
extern void generic_delete_inode(struct inode *inode);
extern void generic_drop_inode(struct inode *inode);
extern int generic_detach_inode(struct inode *inode);
extern struct inode *ilookup5_nowait(struct super_block *sb,
unsigned long hashval, int (*test)(struct inode *, void *),
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册