[PATCH v2 3/3] fs: add support for SquashFS 4.0

Yegor Yefremov yegorslists at googlemail.com
Tue Feb 16 00:38:03 PST 2016


On Tue, Feb 16, 2016 at 9:23 AM,  <yegorslists at googlemail.com> wrote:
> From: Yegor Yefremov <yegorslists at googlemail.com>
>
> The driver was imported from Linux 4.4.
>
> Signed-off-by: Yegor Yefremov <yegorslists at googlemail.com>
> ---
> Changes:
>         v2: - fix checkpatch errors
>             - remove spinlock/wait code from cache implementation
>             - fix directory listing
>             - add documentation entry about SquashFS
>             - fix compiling without XZ enabled
>             - fix some memory leaks

Memory leaks:

1. mount still produces 20 bytes, that I still haven't identified
2. ls -l has about 300 bytes, how do I best handle qstr duplicating?
Its name is *const char **. If I'm doing alloc() I'm breaking this
qualifier.
3. reading a file, i.e. cat has no memory leak so far according to meminfo

Yegor



More information about the barebox mailing list