diff options
author | Chengguang Xu <cgxu519@mykernel.net> | 2019-11-19 12:50:49 +0100 |
---|---|---|
committer | Gao Xiang <gaoxiang25@huawei.com> | 2019-11-24 04:02:41 +0100 |
commit | 3dcb5fa23e16ef50b09e7a56b47d8e4c04ca09c0 (patch) | |
tree | 60a45c3f96d4d00a12194ac58be155bf3def6106 /fs/erofs | |
parent | erofs: drop all vle annotations for runtime names (diff) | |
download | linux-3dcb5fa23e16ef50b09e7a56b47d8e4c04ca09c0.tar.xz linux-3dcb5fa23e16ef50b09e7a56b47d8e4c04ca09c0.zip |
erofs: remove unnecessary output in erofs_show_options()
We have already handled cache_strategy option carefully,
so incorrect setting could not pass option parsing.
Meanwhile, print 'cache_strategy=(unknown)' can cause
failure on remount.
Link: https://lore.kernel.org/r/20191119115049.3401-1-cgxu519@mykernel.net
Signed-off-by: Chengguang Xu <cgxu519@mykernel.net>
Reviewed-by: Gao Xiang <gaoxiang25@huawei.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Gao Xiang <gaoxiang25@huawei.com>
Diffstat (limited to 'fs/erofs')
-rw-r--r-- | fs/erofs/super.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/erofs/super.c b/fs/erofs/super.c index 849c0bdf49d9..057e6d7b5b7f 100644 --- a/fs/erofs/super.c +++ b/fs/erofs/super.c @@ -598,9 +598,6 @@ static int erofs_show_options(struct seq_file *seq, struct dentry *root) seq_puts(seq, ",cache_strategy=readahead"); } else if (sbi->cache_strategy == EROFS_ZIP_CACHE_READAROUND) { seq_puts(seq, ",cache_strategy=readaround"); - } else { - seq_puts(seq, ",cache_strategy=(unknown)"); - DBG_BUGON(1); } #endif return 0; |