Searched hist:"58 a4e23703b22c331b01fbd0c12161aadaa6d50b" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/fs/ubifs/ |
H A D | debug.c | diff 58a4e23703b22c331b01fbd0c12161aadaa6d50b Wed Aug 21 08:24:49 CDT 2013 Mats Kärrman <Mats.Karrman@tritech.se> UBIFS: correct data corruption range
With power-cut emulation, it is possible that sometimes no data at all is corrupted and that confusing messages are printed due to errors in the computation of data corruption range.
[1] The start of the range should be [0..len-1], not [0..len]. [2] The end of the range should always be at least 1 greater than the start.
Signed-off-by: Mats Karrman <mats.karrman@tritech.se> Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
|