aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4/mballoc.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ext4/mballoc.c')
-rw-r--r--fs/ext4/mballoc.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/fs/ext4/mballoc.c b/fs/ext4/mballoc.c
index ef97f19c2f9d..1efcb934c2d6 100644
--- a/fs/ext4/mballoc.c
+++ b/fs/ext4/mballoc.c
@@ -2867,7 +2867,6 @@ static void ext4_mb_free_committed_blocks(struct super_block *sb)
2867 mb_debug("freed %u blocks in %u structures\n", count, count2); 2867 mb_debug("freed %u blocks in %u structures\n", count, count2);
2868} 2868}
2869 2869
2870#define EXT4_ROOT "ext4"
2871#define EXT4_MB_STATS_NAME "stats" 2870#define EXT4_MB_STATS_NAME "stats"
2872#define EXT4_MB_MAX_TO_SCAN_NAME "max_to_scan" 2871#define EXT4_MB_MAX_TO_SCAN_NAME "max_to_scan"
2873#define EXT4_MB_MIN_TO_SCAN_NAME "min_to_scan" 2872#define EXT4_MB_MIN_TO_SCAN_NAME "min_to_scan"
@@ -3007,9 +3006,9 @@ int __init init_ext4_mballoc(void)
3007 return -ENOMEM; 3006 return -ENOMEM;
3008 } 3007 }
3009#ifdef CONFIG_PROC_FS 3008#ifdef CONFIG_PROC_FS
3010 proc_root_ext4 = proc_mkdir(EXT4_ROOT, proc_root_fs); 3009 proc_root_ext4 = proc_mkdir("fs/ext4", NULL);
3011 if (proc_root_ext4 == NULL) 3010 if (proc_root_ext4 == NULL)
3012 printk(KERN_ERR "EXT4-fs: Unable to create %s\n", EXT4_ROOT); 3011 printk(KERN_ERR "EXT4-fs: Unable to create fs/ext4\n");
3013#endif 3012#endif
3014 return 0; 3013 return 0;
3015} 3014}
@@ -3020,7 +3019,7 @@ void exit_ext4_mballoc(void)
3020 kmem_cache_destroy(ext4_pspace_cachep); 3019 kmem_cache_destroy(ext4_pspace_cachep);
3021 kmem_cache_destroy(ext4_ac_cachep); 3020 kmem_cache_destroy(ext4_ac_cachep);
3022#ifdef CONFIG_PROC_FS 3021#ifdef CONFIG_PROC_FS
3023 remove_proc_entry(EXT4_ROOT, proc_root_fs); 3022 remove_proc_entry("fs/ext4", NULL);
3024#endif 3023#endif
3025} 3024}
3026 3025