* [PATCH] fs: mark destroy_inode static
@ 2010-10-06 8:48 Christoph Hellwig
0 siblings, 0 replies; only message in thread
From: Christoph Hellwig @ 2010-10-06 8:48 UTC (permalink / raw)
To: viro; +Cc: linux-fsdevel
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>
Index: linux-2.6/fs/inode.c
===================================================================
--- linux-2.6.orig/fs/inode.c 2010-09-20 17:28:27.111444173 +0200
+++ linux-2.6/fs/inode.c 2010-09-23 16:37:33.598004286 +0200
@@ -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: linux-2.6/include/linux/fs.h
===================================================================
--- linux-2.6.orig/include/linux/fs.h 2010-09-23 16:35:05.715259488 +0200
+++ linux-2.6/include/linux/fs.h 2010-09-23 16:37:33.599003936 +0200
@@ -2184,7 +2184,6 @@ extern void unlock_new_inode(struct inod
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 *);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-10-06 8:48 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-06 8:48 [PATCH] fs: mark destroy_inode static Christoph Hellwig
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.