aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2010-10-24 11:13:10 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2010-10-25 21:23:32 -0400
commita8dade34e3df581bc36ca2afe6e27055e178801c (patch)
tree8c1598922eb17d5626f639a4c94256f25a8e6690
parent61ebdb4254e3ecb59022d2c730b57b04d0eeecc6 (diff)
unexport invalidate_inodes
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
-rw-r--r--fs/inode.c1
-rw-r--r--fs/internal.h5
-rw-r--r--include/linux/fs.h1
3 files changed, 5 insertions, 2 deletions
diff --git a/fs/inode.c b/fs/inode.c
index 4f0a67c54f8..db7c74c7dd8 100644
--- a/fs/inode.c
+++ b/fs/inode.c
@@ -417,7 +417,6 @@ int invalidate_inodes(struct super_block *sb)
return busy;
}
-EXPORT_SYMBOL(invalidate_inodes);
static int can_unuse(struct inode *inode)
{
diff --git a/fs/internal.h b/fs/internal.h
index a6910e91cee..f6dce46d80d 100644
--- a/fs/internal.h
+++ b/fs/internal.h
@@ -101,3 +101,8 @@ extern void put_super(struct super_block *sb);
struct nameidata;
extern struct file *nameidata_to_filp(struct nameidata *);
extern void release_open_intent(struct nameidata *);
+
+/*
+ * inode.c
+ */
+extern int invalidate_inodes(struct super_block *);
diff --git a/include/linux/fs.h b/include/linux/fs.h
index 7fc126df1c4..c3f6daf749c 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -2082,7 +2082,6 @@ extern int check_disk_change(struct block_device *);
extern int __invalidate_device(struct block_device *);
extern int invalidate_partition(struct gendisk *, int);
#endif
-extern int invalidate_inodes(struct super_block *);
unsigned long invalidate_mapping_pages(struct address_space *mapping,
pgoff_t start, pgoff_t end);