commit | 8ca5175b02b77178a70cbb9fd7020c4938e3d3a6 | [log] [tgz] |
---|---|---|
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | Fri May 06 20:41:48 2011 +0300 |
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | Mon May 16 10:31:38 2011 +0300 |
tree | a29fbf5c89250ce62eb0c6e7099a18a1de5b46ca | |
parent | eaeee242c531cd4b0a4a46e8b5dd7ef504380c42 [diff] |
UBIFS: improve debugging lprops scanning a little When doing the lprops extra check ('dbg_check_lprops()') we scan whole media. We even scan empty and freeable LEBs which may contain garbage, which we handle after scanning. This patch teach the lprops checking function ('scan_check_cb()') to avoid scanning for free and freeable LEBs and save time. Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>