summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2010-10-06 10:48:55 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2010-10-26 03:18:19 +0200
commit56b0dacfa2b8416815a2f2a5f4f51e46be4cf14c (patch)
treef438745535c50a574a9c0e4a55fe5f526689204a /fs
parentfs: add sync_inode_metadata (diff)
downloadlinux-56b0dacfa2b8416815a2f2a5f4f51e46be4cf14c.tar.xz
linux-56b0dacfa2b8416815a2f2a5f4f51e46be4cf14c.zip
fs: mark destroy_inode static
Hugetlbfs used to need it, but after the destroy_inode and evict_inode changes it's not required anymore. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs')
-rw-r--r--fs/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/inode.c b/fs/inode.c
index 86464332e590..3368abd64bb5 100644
--- a/fs/inode.c
+++ b/fs/inode.c
@@ -235,7 +235,7 @@ void __destroy_inode(struct inode *inode)
}
EXPORT_SYMBOL(__destroy_inode);
-void destroy_inode(struct inode *inode)
+static void destroy_inode(struct inode *inode)
{
__destroy_inode(inode);
if (inode->i_sb->s_op->destroy_inode)