Re: Lock Directory failure

From: Hugh Dickins
Date: Tue Aug 19 2014 - 12:36:47 EST


On Wed, 20 Aug 2014, Stephen Rothwell wrote:
> On Mon, 18 Aug 2014 13:58:26 -0700 (PDT) Hugh Dickins <hughd@xxxxxxxxxx> wrote:
> >
> > [PATCH next] vfs: initialize m_list to fix crash in mnt_set_mountpoint
> >
> > Fix mnt_set_mountpoint() crash: new_mountpoint() must initialize m_list.
> >
> > Reported-by: Felipe Balbi <balbi@xxxxxx>
> > Signed-off-by: Hugh Dickins <hughd@xxxxxxxxxx>
>
> I assume that this is a fix for commit 89f7ca1af15b ("vfs: Keep a list
> of mounts on a mount point") that is currently i the vfs tree. I will
> apply this patch as a fix up for the vfs tree in linux-next today.

Yes, that's it: thanks a lot, Stephen, that will help everybody.

I should acknowledge that Thierry Reding posted the same fix (a few
lines away) before mine, but I only came across his later in the day.

Hugh
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/