diff options
author | Christoph Hellwig <hch@lst.de> | 2010-10-06 04:48:55 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2010-10-25 21:18:19 -0400 |
commit | 56b0dacfa2b8416815a2f2a5f4f51e46be4cf14c (patch) | |
tree | f438745535c50a574a9c0e4a55fe5f526689204a | |
parent | c37650161a53c01ddd88587675f9a4adc909a73e (diff) |
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>
-rw-r--r-- | fs/inode.c | 2 | ||||
-rw-r--r-- | include/linux/fs.h | 1 |
2 files changed, 1 insertions, 2 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) | |||
235 | } | 235 | } |
236 | EXPORT_SYMBOL(__destroy_inode); | 236 | EXPORT_SYMBOL(__destroy_inode); |
237 | 237 | ||
238 | void destroy_inode(struct inode *inode) | 238 | static void destroy_inode(struct inode *inode) |
239 | { | 239 | { |
240 | __destroy_inode(inode); | 240 | __destroy_inode(inode); |
241 | if (inode->i_sb->s_op->destroy_inode) | 241 | if (inode->i_sb->s_op->destroy_inode) |
diff --git a/include/linux/fs.h b/include/linux/fs.h index 0b03f490572f..0a5d83633884 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h | |||
@@ -2187,7 +2187,6 @@ extern void unlock_new_inode(struct inode *); | |||
2187 | extern void __iget(struct inode * inode); | 2187 | extern void __iget(struct inode * inode); |
2188 | extern void iget_failed(struct inode *); | 2188 | extern void iget_failed(struct inode *); |
2189 | extern void end_writeback(struct inode *); | 2189 | extern void end_writeback(struct inode *); |
2190 | extern void destroy_inode(struct inode *); | ||
2191 | extern void __destroy_inode(struct inode *); | 2190 | extern void __destroy_inode(struct inode *); |
2192 | extern struct inode *new_inode(struct super_block *); | 2191 | extern struct inode *new_inode(struct super_block *); |
2193 | extern int should_remove_suid(struct dentry *); | 2192 | extern int should_remove_suid(struct dentry *); |