Linux-mtd Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Richard Weinberger <richard@nod.at>
To: Joel Stanley <joel@jms.id.au>
Cc: OpenBMC Maillist <openbmc@lists.ozlabs.org>,
	linux-kernel <linux-kernel@vger.kernel.org>,
	stable <stable@vger.kernel.org>,
	Jia-Ju Bai <baijiaju1990@gmail.com>,
	linux-mtd <linux-mtd@lists.infradead.org>,
	Al Viro <viro@zeniv.linux.org.uk>, Hou Tao <houtao1@huawei.com>,
	David Woodhouse <dwmw2@infradead.org>
Subject: Re: [PATCH] Revert "jffs2: Fix possible null-pointer dereferences in jffs2_add_frag_to_fragtree()"
Date: Fri, 29 Nov 2019 11:28:46 +0100 (CET)	[thread overview]
Message-ID: <1768300347.101090.1575023326346.JavaMail.zimbra@nod.at> (raw)
In-Reply-To: <20191129001930.651128-1-joel@jms.id.au>

----- Ursprüngliche Mail -----
> Von: "Joel Stanley" <joel@jms.id.au>
> An: "David Woodhouse" <dwmw2@infradead.org>, "richard" <richard@nod.at>, "Jia-Ju Bai" <baijiaju1990@gmail.com>, "Al
> Viro" <viro@zeniv.linux.org.uk>, "OpenBMC Maillist" <openbmc@lists.ozlabs.org>, "linux-mtd"
> <linux-mtd@lists.infradead.org>, "linux-kernel" <linux-kernel@vger.kernel.org>
> CC: "stable" <stable@vger.kernel.org>, "Hou Tao" <houtao1@huawei.com>
> Gesendet: Freitag, 29. November 2019 01:19:30
> Betreff: [PATCH] Revert "jffs2: Fix possible null-pointer dereferences in jffs2_add_frag_to_fragtree()"

> This reverts commit f2538f999345405f7d2e1194c0c8efa4e11f7b3a. The patch
> stopped JFFS2 from being able to mount an existing filesystem with the
> following errors:
> 
> jffs2: error: (77) jffs2_build_inode_fragtree: Add node to tree failed -22
> jffs2: error: (77) jffs2_do_read_inode_internal: Failed to build final fragtree
> for inode #5377: error -22
> 
> Fixes: f2538f999345 ("jffs2: Fix possible null-pointer dereferences...")
> Cc: stable@vger.kernel.org
> Suggested-by: Hou Tao <houtao1@huawei.com>
> Signed-off-by: Joel Stanley <joel@jms.id.au>
> ---
> 5.4 cannot mount (some?) jffs2 filesystems without this fix. Hou pointed
> this out[1] a while back but the fix didn't make it in. It's still
> broken in -next.

queued into -next.

Thanks,
//richard

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

  reply	other threads:[~2019-11-29 10:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-29  0:19 [PATCH] Revert "jffs2: Fix possible null-pointer dereferences in jffs2_add_frag_to_fragtree()" Joel Stanley
2019-11-29 10:28 ` Richard Weinberger [this message]
  -- strict thread matches above, loose matches on Subject: below --
2019-10-19 15:55 Alexander Sverdlin
2019-10-19 20:49 ` Richard Weinberger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1768300347.101090.1575023326346.JavaMail.zimbra@nod.at \
    --to=richard@nod.at \
    --cc=baijiaju1990@gmail.com \
    --cc=dwmw2@infradead.org \
    --cc=houtao1@huawei.com \
    --cc=joel@jms.id.au \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mtd@lists.infradead.org \
    --cc=openbmc@lists.ozlabs.org \
    --cc=stable@vger.kernel.org \
    --cc=viro@zeniv.linux.org.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox