summaryrefslogtreecommitdiffstats
path: root/fs/ubifs/debug.h
diff options
context:
space:
mode:
authorsrimugunthan dhandapani <srimugunthan.dhandapani@gmail.com>2011-08-26 12:38:39 +0200
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2011-08-26 12:38:39 +0200
commit7606f85a701ed8feeac065e133ff9a51c267aa0d (patch)
tree6c6d307b349c0897a6f76c4d16e8ae50adc7897b /fs/ubifs/debug.h
parentUBIFS: introduce a helper to dump scanning info (diff)
downloadlinux-7606f85a701ed8feeac065e133ff9a51c267aa0d.tar.xz
linux-7606f85a701ed8feeac065e133ff9a51c267aa0d.zip
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: srimugunthan <srimugunthan.dhandapani@gmail.com> Signed-off-by: Artem Bityutskiy <artem.bityutskiy@intel.com>
Diffstat (limited to 'fs/ubifs/debug.h')
0 files changed, 0 insertions, 0 deletions