summaryrefslogtreecommitdiff
path: root/flash_unlock.c
diff options
context:
space:
mode:
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2012-03-07 16:08:30 +0200
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2012-03-07 16:08:30 +0200
commitc36e0067ffdae9ca83abae89f2d22dc9013d9734 (patch)
treea2fff0358202748b8b671679b8fef6d7ca6398e1 /flash_unlock.c
parentac10be41ad321752682f2549ebc42b2512012f60 (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 'flash_unlock.c')
0 files changed, 0 insertions, 0 deletions