diff options
author | Christoph Hellwig <hch@lst.de> | 2024-03-03 07:01:42 -0700 |
---|---|---|
committer | Song Liu <song@kernel.org> | 2024-03-06 08:59:53 -0800 |
commit | 176df894d7974166c65d0cce3b3b019678f9e698 (patch) | |
tree | 0974ddbd3a00c500268df57aa16a702717fea92e /scripts/gdb/linux/stackdepot.py | |
parent | 28be4fd310d146e9a43d7b1bb55cb7e9f5e06e88 (diff) |
md: add a mddev_is_dm helper
Add a helper to check for a DM-mapped MD device instead of using
the obfuscated ->gendisk or ->queue NULL checks.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed--by: Song Liu <song@kernel.org>
Tested-by: Song Liu <song@kernel.org>
Signed-off-by: Song Liu <song@kernel.org>
Link: https://lore.kernel.org/r/20240303140150.5435-4-hch@lst.de
Diffstat (limited to 'scripts/gdb/linux/stackdepot.py')
0 files changed, 0 insertions, 0 deletions