summaryrefslogtreecommitdiff
path: root/mkfs.jffs2.1
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2011-04-11 14:55:49 +0300
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2011-04-18 17:44:44 +0300
commit544833ec2a08fef12913c32543f2d815220d9683 (patch)
tree0a560e52a2107542a4b6c21549ea9e73c49171bd /mkfs.jffs2.1
parent191071e9fcb711cd89c8c57e51937da525039c8b (diff)
fs-tests: integck: shrink write_info even more
The 'struct write_info' data strucutre records information about truncation, and has a separate integer field to specify if this is a truncation or not. But it is too wasteful because we have huge amount of these objects. But it is easy to notice that the 'random_seed' field is not used for truncation records, so we can use that as the truncation flag. This patch introduces MAX_RANDOM_SEED macro and when the 'random_seed' field is greater than that, we treat it as the truncation flag. Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'mkfs.jffs2.1')
0 files changed, 0 insertions, 0 deletions