diff options
author | Alexander Beregalov <a.beregalov@gmail.com> | 2008-10-12 17:27:49 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2008-10-12 17:27:49 -0400 |
commit | 3244fcb1ae03362e4aa8cb1a9039fbfd61661859 (patch) | |
tree | fa46eff0dff3a9a046917bdb0c8ec3b2fef807f4 /fs | |
parent | 5bf5683a33f3584da6eced480967c4f7e11515a8 (diff) | |
download | talos-obmc-linux-3244fcb1ae03362e4aa8cb1a9039fbfd61661859.tar.gz talos-obmc-linux-3244fcb1ae03362e4aa8cb1a9039fbfd61661859.zip |
ext4: fix build failure without procfs
fs/ext4/super.c: In function 'ext4_fill_super':
fs/ext4/super.c:2226: error: 'ext4_ui_proc_fops' undeclared (first use
in this function)
fs/ext4/super.c:2226: error: (Each undeclared identifier is reported
only once
fs/ext4/super.c:2226: error: for each function it appears in.)
Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
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) goto failed_mount; } +#ifdef CONFIG_PROC_FS if (ext4_proc_root) sbi->s_proc = proc_mkdir(sb->s_id, ext4_proc_root); @@ -2238,6 +2239,7 @@ static int ext4_fill_super(struct super_block *sb, void *data, int silent) proc_create_data("inode_readahead_blks", 0644, sbi->s_proc, &ext4_ui_proc_fops, &sbi->s_inode_readahead_blks); +#endif bgl_lock_init(&sbi->s_blockgroup_lock); |