Re: [PATCH v3] scripts/gdb: replace flags (MS_xyz -> SB_xyz)
From: Nick Desaulniers
Date: Tue Mar 05 2019 - 16:48:13 EST
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.
--
Thanks,
~Nick Desaulniers