git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d37854c
)
UBIFS: fix the dark space calculation
author
srimugunthan dhandapani
<srimugunthan.dhandapani@gmail.com>
Fri, 26 Aug 2011 10:38:39 +0000
(16:08 +0530)
committer
Artem Bityutskiy
<artem.bityutskiy@linux.intel.com>
Fri, 26 Aug 2011 10:38:39 +0000
(16:08 +0530)
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: srimugunthan <srimugunthan.dhandapani@gmail.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@intel.com>
No differences found