[PATCH 4/7] staging: erofs: return -EINVAL when specifying fault rate to 0

Dan Carpenter dan.carpenter at oracle.com
Wed Sep 12 19:16:31 AEST 2018


On Wed, Sep 12, 2018 at 01:10:31PM +0800, Chengguang Xu wrote:
> Set fault rate to 0 is useless and confusable, so add check to
> avoid it.
> 

I would have assumed setting rate to zero just disabled it.

regards,
dan carpenter



More information about the Linux-erofs mailing list