summaryrefslogtreecommitdiffstats
path: root/fs/inode.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2010-06-04 19:56:17 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2010-08-09 16:47:48 -0400
commitc6287315cb958e740466555ca5e9d007f25b39bd (patch)
tree39067d77f55479519b502750caa8e3c34e45de7f /fs/inode.c
parent2bbbda308f5ca027d4fd721f914c0cab88d49aec (diff)
generic_detach_inode() can be static now
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/inode.c')
-rw-r--r--fs/inode.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/inode.c b/fs/inode.c
index 474a72f571a..256e620c641 100644
--- a/fs/inode.c
+++ b/fs/inode.c
@@ -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)
{