diff options
author | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2012-03-07 16:08:30 +0200 |
---|---|---|
committer | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2012-03-07 16:08:30 +0200 |
commit | c36e0067ffdae9ca83abae89f2d22dc9013d9734 (patch) | |
tree | a2fff0358202748b8b671679b8fef6d7ca6398e1 /jffs-dump.c | |
parent | ac10be41ad321752682f2549ebc42b2512012f60 (diff) |
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: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Diffstat (limited to 'jffs-dump.c')
0 files changed, 0 insertions, 0 deletions