]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
fs: mark destroy_inode static
authorChristoph Hellwig <hch@lst.de>
Wed, 6 Oct 2010 08:48:55 +0000 (10:48 +0200)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 26 Oct 2010 01:18:19 +0000 (21:18 -0400)
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>
fs/inode.c
include/linux/fs.h

index 86464332e590dfdc9cbf041515f038f0de1d846d..3368abd64bb542b8a95d5f3d4149588dddb23bb3 100644 (file)
@@ -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)
index 0b03f490572f31040e018c0fe2d3b29462aebc76..0a5d8363388406c63dbe41dd6925b5955bc57982 100644 (file)
@@ -2187,7 +2187,6 @@ extern void unlock_new_inode(struct inode *);
 extern void __iget(struct inode * inode);
 extern void iget_failed(struct inode *);
 extern void end_writeback(struct inode *);
-extern void destroy_inode(struct inode *);
 extern void __destroy_inode(struct inode *);
 extern struct inode *new_inode(struct super_block *);
 extern int should_remove_suid(struct dentry *);