]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ubifs: Unexport ubifs_inode_slab
authorRichard Weinberger <richard@nod.at>
Tue, 16 May 2017 22:20:26 +0000 (00:20 +0200)
committerRichard Weinberger <richard@nod.at>
Fri, 14 Jul 2017 20:48:43 +0000 (22:48 +0200)
This SLAB is only being used in super.c, there is no need to expose
it into the global namespace.

Signed-off-by: Richard Weinberger <richard@nod.at>
fs/ubifs/super.c
fs/ubifs/ubifs.h

index cf4cc99b75b55531789a03b065d86f521489f67e..ce684f367f9c13a56ee4e26aed88a82333db83de 100644 (file)
@@ -45,7 +45,7 @@
 #define UBIFS_KMALLOC_OK (128*1024)
 
 /* Slab cache for UBIFS inodes */
-struct kmem_cache *ubifs_inode_slab;
+static struct kmem_cache *ubifs_inode_slab;
 
 /* UBIFS TNC shrinker description */
 static struct shrinker ubifs_shrinker_info = {
index 298b4d89eee98b74440d84097d1789ba5de8a906..aa530e82e9a8adc0bc2fd9c2d2d1a960cd49c151 100644 (file)
@@ -1451,7 +1451,6 @@ struct ubifs_info {
 extern struct list_head ubifs_infos;
 extern spinlock_t ubifs_infos_lock;
 extern atomic_long_t ubifs_clean_zn_cnt;
-extern struct kmem_cache *ubifs_inode_slab;
 extern const struct super_operations ubifs_super_operations;
 extern const struct address_space_operations ubifs_file_address_operations;
 extern const struct file_operations ubifs_file_operations;