Skip to content
Snippets Groups Projects
Commit 7606f85a authored by srimugunthan dhandapani's avatar srimugunthan dhandapani Committed by Artem Bityutskiy
Browse files

UBIFS: fix the dark space calculation


The dark space calculation should be 64 bit type-casted, when
assigning to tmp64 (similar to how total_free is calculated).
Overflow will occur for very large flashes.

Signed-off-by: default avatarsrimugunthan <srimugunthan.dhandapani@gmail.com>
Signed-off-by: default avatarArtem Bityutskiy <artem.bityutskiy@intel.com>
parent d37854cf
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment