Skip to content
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
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