aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ntfs/super.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ntfs/super.c')
-rw-r--r--fs/ntfs/super.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/fs/ntfs/super.c b/fs/ntfs/super.c
index c3a3f1a8310b..e9c0d80dfab1 100644
--- a/fs/ntfs/super.c
+++ b/fs/ntfs/super.c
@@ -2987,14 +2987,14 @@ err_out_now:
2987 * strings of the maximum length allowed by NTFS, which is NTFS_MAX_NAME_LEN 2987 * strings of the maximum length allowed by NTFS, which is NTFS_MAX_NAME_LEN
2988 * (255) Unicode characters + a terminating NULL Unicode character. 2988 * (255) Unicode characters + a terminating NULL Unicode character.
2989 */ 2989 */
2990kmem_cache_t *ntfs_name_cache; 2990struct kmem_cache *ntfs_name_cache;
2991 2991
2992/* Slab caches for efficient allocation/deallocation of inodes. */ 2992/* Slab caches for efficient allocation/deallocation of inodes. */
2993kmem_cache_t *ntfs_inode_cache; 2993struct kmem_cache *ntfs_inode_cache;
2994kmem_cache_t *ntfs_big_inode_cache; 2994struct kmem_cache *ntfs_big_inode_cache;
2995 2995
2996/* Init once constructor for the inode slab cache. */ 2996/* Init once constructor for the inode slab cache. */
2997static void ntfs_big_inode_init_once(void *foo, kmem_cache_t *cachep, 2997static void ntfs_big_inode_init_once(void *foo, struct kmem_cache *cachep,
2998 unsigned long flags) 2998 unsigned long flags)
2999{ 2999{
3000 ntfs_inode *ni = (ntfs_inode *)foo; 3000 ntfs_inode *ni = (ntfs_inode *)foo;
@@ -3008,8 +3008,8 @@ static void ntfs_big_inode_init_once(void *foo, kmem_cache_t *cachep,
3008 * Slab caches to optimize allocations and deallocations of attribute search 3008 * Slab caches to optimize allocations and deallocations of attribute search
3009 * contexts and index contexts, respectively. 3009 * contexts and index contexts, respectively.
3010 */ 3010 */
3011kmem_cache_t *ntfs_attr_ctx_cache; 3011struct kmem_cache *ntfs_attr_ctx_cache;
3012kmem_cache_t *ntfs_index_ctx_cache; 3012struct kmem_cache *ntfs_index_ctx_cache;
3013 3013
3014/* Driver wide semaphore. */ 3014/* Driver wide semaphore. */
3015DECLARE_MUTEX(ntfs_lock); 3015DECLARE_MUTEX(ntfs_lock);