diff options
Diffstat (limited to 'fs')
-rw-r--r-- | fs/ext4/super.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/ext4/super.c b/fs/ext4/super.c index 014677b8e224..fb940c22ab0d 100644 --- a/fs/ext4/super.c +++ b/fs/ext4/super.c | |||
@@ -2231,6 +2231,7 @@ static int ext4_fill_super(struct super_block *sb, void *data, int silent) | |||
2231 | goto failed_mount; | 2231 | goto failed_mount; |
2232 | } | 2232 | } |
2233 | 2233 | ||
2234 | #ifdef CONFIG_PROC_FS | ||
2234 | if (ext4_proc_root) | 2235 | if (ext4_proc_root) |
2235 | sbi->s_proc = proc_mkdir(sb->s_id, ext4_proc_root); | 2236 | sbi->s_proc = proc_mkdir(sb->s_id, ext4_proc_root); |
2236 | 2237 | ||
@@ -2238,6 +2239,7 @@ static int ext4_fill_super(struct super_block *sb, void *data, int silent) | |||
2238 | proc_create_data("inode_readahead_blks", 0644, sbi->s_proc, | 2239 | proc_create_data("inode_readahead_blks", 0644, sbi->s_proc, |
2239 | &ext4_ui_proc_fops, | 2240 | &ext4_ui_proc_fops, |
2240 | &sbi->s_inode_readahead_blks); | 2241 | &sbi->s_inode_readahead_blks); |
2242 | #endif | ||
2241 | 2243 | ||
2242 | bgl_lock_init(&sbi->s_blockgroup_lock); | 2244 | bgl_lock_init(&sbi->s_blockgroup_lock); |
2243 | 2245 | ||