scripts: gdb: move MNT_* constants to gdb-parsed
PATCH 1/1 scripts: gdb: move MNT_* constants to gdb-parsed
From: Johannes Berg <[email protected]>
Since these are now no longer defines, but in an enum.
--- scripts/gdb/linux/constants.py.in | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-)
scripts/gdb/linux/constants.py.in +6 -6
@@ -73,12 +73,12 @@ if IS_BUILTIN(CONFIG_MODULES): LX_GDBPARSED(MOD_RO_AFTER_INIT) /* linux/mount.h */ -LX_VALUE(MNT_NOSUID) -LX_VALUE(MNT_NODEV) -LX_VALUE(MNT_NOEXEC) -LX_VALUE(MNT_NOATIME) -LX_VALUE(MNT_NODIRATIME) -LX_VALUE(MNT_RELATIME) +LX_GDBPARSED(MNT_NOSUID) +LX_GDBPARSED(MNT_NODEV) +LX_GDBPARSED(MNT_NOEXEC) +LX_GDBPARSED(MNT_NOATIME) +LX_GDBPARSED(MNT_NODIRATIME) +LX_GDBPARSED(MNT_RELATIME) /* linux/threads.h */ LX_VALUE(NR_CPUS)
Signature · 1 line
2.49.0
Quoted 7 lines · Johannes Berg
From: Johannes Berg <[email protected]>
Since these are now no longer defines, but in an enum.
Fixes 101f2bbab541 ("fs: convert mount flags to enum")Reviewed-by Benjamin Berg <[email protected]>Signed-off-by Johannes Berg <[email protected]>
The exact same change was already submitted and discussed here:
https://lore.kernel.org/all/[email protected]/
I don't know what tree this would go through, so I can't tell whether it was picked up or not. But I think there's consensus that it's a good fix, and several folks have written or reviewed the change.
Thanks,
Stephen
Quoted 27 lines
--- scripts/gdb/linux/constants.py.in | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-)scripts/gdb/linux/constants.py.in +6
-6@@ -73,12 +73,12 @@ if IS_BUILTIN(CONFIG_MODULES): LX_GDBPARSED(MOD_RO_AFTER_INIT) /* linux/mount.h */ -LX_VALUE(MNT_NOSUID) -LX_VALUE(MNT_NODEV) -LX_VALUE(MNT_NOEXEC) -LX_VALUE(MNT_NOATIME) -LX_VALUE(MNT_NODIRATIME) -LX_VALUE(MNT_RELATIME) +LX_GDBPARSED(MNT_NOSUID) +LX_GDBPARSED(MNT_NODEV) +LX_GDBPARSED(MNT_NOEXEC) +LX_GDBPARSED(MNT_NOATIME) +LX_GDBPARSED(MNT_NODIRATIME) +LX_GDBPARSED(MNT_RELATIME) /* linux/threads.h */ LX_VALUE(NR_CPUS)
Quoted 5 lines · Stephen Brennan
Quoted 4 lines · Johannes Berg
From: Johannes Berg <[email protected]>
Since these are now no longer defines, but in an enum.
Quoted 7 lines
Quoted 3 lines
Fixes 101f2bbab541 ("fs: convert mount flags to enum")Reviewed-by Benjamin Berg <[email protected]>Signed-off-by Johannes Berg <[email protected]>The exact same change was already submitted and discussed here:
Oh, I missed that, sorry.
Quoted 3 lines
I don't know what tree this would go through, so I can't tell whether it was picked up or not. But I think there's consensus that it's a good fix, and several folks have written or reviewed the change.
It looks like previously Andrew picked up patches to this which is why I Cc'ed him, but I'm perfectly happy for that other patch (or mine) to take any path available :)
johannes