Re: [Squashfs-devel] PROBLEM: mount empty SquashFS

From: Ben Hutchings
Date: Sun Sep 09 2012 - 14:17:54 EST


On Tue, 2012-09-04 at 20:52 +0200, Geert Uytterhoeven wrote:
> Hi Phillip,
>
> On Wed, Aug 1, 2012 at 6:25 AM, Phillip Lougher
> <phillip@xxxxxxxxxxxxxxxxxxx> wrote:
[...]
> > I discovered the sanity checks mistakenly flagged empty filesystems
> > as invalid in January, and added a fix to the mainline kernel, FYI
> > the commit is here:
> >
> > http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=cc37f75a9ffbbfcb1c3297534f293c8284e3c5a6
[...]
> I can easily imagine a system that has an optional filesystem mounted,
> which may be empty. For such a system, it's a regression.
>
> So I think this warrants application to the stable 3.0, 3.1, and 3.2 branches.
> Commit cc37f75a9ffbbfcb1c3297534f293c8284e3c5a6 ("Squashfs: fix
> mount time sanity check for corrupted superblock") seems to cherry-pick just
> fine on v3.0.42, v3.1.10, and v3.2.28.
[...]

I've queued this up for 3.2, thanks.

Ben.

--
Ben Hutchings
Time is nature's way of making sure that everything doesn't happen at once.

Attachment: signature.asc
Description: This is a digitally signed message part