UBIFS: slight compression optimization
commit062e4fee4400f283307cf8ac1b7931c939010229
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Sun, 26 Oct 2008 14:58:25 +0000 (26 16:58 +0200)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Wed, 3 Dec 2008 11:13:50 +0000 (3 13:13 +0200)
treecacea4a2f65688ad02fa572060155783c4f0377c
parentf6f7b52e2f6149d2ee365717afff315b05720162
UBIFS: slight compression optimization

If data does not compress, it is better to leave it uncompressed
because we'll read it faster then. So do not compress data if we
save less than 64 bytes.

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
fs/ubifs/compress.c
fs/ubifs/ubifs-media.h