]> git.baikalelectronics.ru Git - kernel.git/commit
staging: erofs: code cleanup for erofs_show_options()
authorChengguang Xu <cgxu519@gmx.com>
Wed, 19 Sep 2018 14:53:45 +0000 (22:53 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 20 Sep 2018 10:26:29 +0000 (12:26 +0200)
commitabcbdf177bd84802fc659c8e32a3cc0bba078a88
treedeca050f099b3ac5fa9add086485f6f50cdde353
parente1c6dc3fea5f8f3539a180188d961cc157a97e45
staging: erofs: code cleanup for erofs_show_options()

Add new helper erofs_get_fault_rate() to get fault rate instead of
directly getting it from sbi, so we can remove the macro check
surrounding it.

Signed-off-by: Chengguang Xu <cgxu519@gmx.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Reviewed-by: Gao Xiang <gaoxiang25@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/erofs/super.c