Skip to content
Commit c36e0067 authored by Artem Bityutskiy's avatar Artem Bityutskiy
Browse files

mkfs.ubifs: do not ignore --max-leb-cnt when formatting an UBI volume



When the output file is an UBI volume - mkfs.ubifs just sets --max-leb-cnt
to the volume size and ignores the user-supplied --max-leb-cnt value, which
is wrong. Let's set it to the volume size only if the user did not supply
--max-leb-cnt.

Signed-off-by: default avatarArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
parent ac10be41
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment