Re: [PATCH v3] scripts/gdb: replace flags (MS_xyz -> SB_xyz)

From: Nick Desaulniers
Date: Fri Mar 08 2019 - 15:56:43 EST


On Fri, Mar 8, 2019 at 4:37 AM Greg KH <gregkh@xxxxxxxxxxxxxxxxxxx> wrote:
>
> On Tue, Mar 05, 2019 at 01:47:58PM -0800, Nick Desaulniers wrote:
> > On Tue, Mar 5, 2019 at 2:30 AM Kieran Bingham
> > <kieran.bingham@xxxxxxxxxxxxxxxx> wrote:
> > >
> > > From: Jackie Liu <liuyun01@xxxxxxxxxx>
> > >
> > > Since commit 1751e8a6cb93 ("Rename superblock flags (MS_xyz -> SB_xyz)"),
> > > scripts/gdb should be updated to replace MS_xyz with SB_xyz.
> > >
> > > This change didn't directly affect the running operation of scripts/gdb until
> > > commit e262e32d6bde "vfs: Suppress MS_* flag defs within the kernel unless
> >
> > Note to stable, e262e32d6bde landed in v5.0-rc1 (which was just
> > released), so we'll want this picked back to 5.0 stable once this
> > patch hits mainline (akpm just picked it up).
> >
> > Just following up to say that without this, debugging a kernel a
> > kernel via GDB+QEMU is broken in the 5.0 release.
>
> I do not understand, sorry. Specifically, what git commits do you want
> applied to which stable releases for what reason?

commits: 663cb6340c6e
release: 5.0
reason: kernel debugging scripts in gdb are broken since v5.0-rc1 via
e262e32d6bde
--
Thanks,
~Nick Desaulniers