[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20150930164945.GD143959@google.com>
Date: Wed, 30 Sep 2015 09:49:45 -0700
From: Brian Norris <computersforpeace@...il.com>
To: Boris Brezillon <boris.brezillon@...e-electrons.com>
Cc: David Woodhouse <dwmw2@...radead.org>,
linux-mtd@...ts.infradead.org, linux-kernel@...r.kernel.org,
stable@...r.kernel.org
Subject: Re: [PATCH] mtd: mtdpart: fix add_mtd_partitions error path
On Thu, Jul 30, 2015 at 12:18:03PM +0200, Boris Brezillon wrote:
> If we fail to allocate a partition structure in the middle of the partition
> creation process, the already allocated partitions are never removed, which
> means they are still present in the partition list and their resources are
> never freed.
>
> Signed-off-by: Boris Brezillon <boris.brezillon@...e-electrons.com>
> Cc: stable@...r.kernel.org
Pushed to l2-mtd.git, thanks
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists