Skip to content
Commit cd3ed3c7 authored by lizhe's avatar lizhe Committed by Richard Weinberger
Browse files

jffs2: Allow setting rp_size to zero during remounting



Set rp_size to zero will be ignore during remounting.

The method to identify whether we input a remounting option of
rp_size is to check if the rp_size input is zero. It can not work
well if we pass "rp_size=0".

This patch add a bool variable "set_rp_size" to fix this problem.

Reported-by: default avatarJubin Zhong <zhongjubin@huawei.com>
Signed-off-by: default avatarlizhe <lizhe67@huawei.com>
Signed-off-by: default avatarRichard Weinberger <richard@nod.at>
parent 08cd274f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment