]> 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)
commit75b47bdf926a7e122d37cff61e47fe7b2e917781
treedeca050f099b3ac5fa9add086485f6f50cdde353
parented4130e442a3def7a9f6cd0fd4b51312db3f349c
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