diff options
author | Tyson Nottingham <tgnottingham@gmail.com> | 2018-03-30 06:53:33 +0200 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2018-03-30 06:53:33 +0200 |
commit | ceec03764a3921d03aefe4cc9b3b14cf8527ceff (patch) | |
tree | 1142c2d0615948648d489df74a0b59789ba2feab /fs/ext4 | |
parent | ext4: show more binary mount options in procfs (diff) | |
download | linux-ceec03764a3921d03aefe4cc9b3b14cf8527ceff.tar.xz linux-ceec03764a3921d03aefe4cc9b3b14cf8527ceff.zip |
ext4: omit init_itable=n in procfs when disabled
Don't show init_itable=n in /proc/fs/ext4/<dev>/options when filesystem
is mounted with noinit_itable.
Signed-off-by: Tyson Nottingham <tgnottingham@gmail.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/ext4')
-rw-r--r-- | fs/ext4/super.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/super.c b/fs/ext4/super.c index 2376ac09e013..20d5233856c5 100644 --- a/fs/ext4/super.c +++ b/fs/ext4/super.c @@ -2084,7 +2084,7 @@ static int _ext4_show_options(struct seq_file *seq, struct super_block *sb, SEQ_OPTS_PRINT("inode_readahead_blks=%u", sbi->s_inode_readahead_blks); - if (nodefs || (test_opt(sb, INIT_INODE_TABLE) && + if (test_opt(sb, INIT_INODE_TABLE) && (nodefs || (sbi->s_li_wait_mult != EXT4_DEF_LI_WAIT_MULT))) SEQ_OPTS_PRINT("init_itable=%u", sbi->s_li_wait_mult); if (nodefs || sbi->s_max_dir_size_kb) |