We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 097775d commit 1e20fbeCopy full SHA for 1e20fbe
drgn_tools/mounts.py
@@ -23,6 +23,10 @@ def get_mountinfo(prog: drgn.Program) -> List[List[str]]:
23
for mnt in drgn.helpers.linux.fs.for_each_mount(mounts):
24
devname = mnt.mnt_devname
25
sb = mnt.mnt.mnt_sb
26
+ if not sb:
27
+ # See https://github.com/osandov/drgn/pull/496
28
+ # TODO: drgn 0.0.32+ can drop this
29
+ continue
30
fstype = sb.s_type.name.string_()
31
if sb.s_subtype:
32
fstype += b"." + sb.s_subtype.string_()
0 commit comments