]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
erofs: remove dead code in erofs_fc_parse_param
authorChen Linxuan <chenlinxuan@uniontech.com>
Fri, 17 Jan 2025 10:06:36 +0000 (18:06 +0800)
committerGao Xiang <hsiangkao@linux.alibaba.com>
Sun, 19 Jan 2025 15:57:38 +0000 (23:57 +0800)
commit6e2c2342e2b608264cf763a27410295b05995191
tree52b953da9b54b60eaf2903236f42608c4b55caf7
parent41fb0fabc40113769ce53ea85ffd1f4bc87ae03a
erofs: remove dead code in erofs_fc_parse_param

If an option is unknown to erofs, which means that option is not in
`erofs_fs_parameters`, `fs_parse` will return -ENOPARAM, which makes
`erofs_fc_parse_param` returns earlier.

Signed-off-by: Chen Linxuan <chenlinxuan@uniontech.com>
Reviewed-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Link: https://lore.kernel.org/r/DB86A4E2BB2BB44E+20250117100635.335963-2-chenlinxuan@uniontech.com
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
fs/erofs/super.c