Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
*
* 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;
spin_unlock(&inode_lock);
return 1;
}
-EXPORT_SYMBOL_GPL(generic_detach_inode);
static void generic_forget_inode(struct inode *inode)
{
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 *),