diff options
| author | Christoph Hellwig <[email protected]> | 2024-03-03 07:01:42 -0700 |
|---|---|---|
| committer | Song Liu <[email protected]> | 2024-03-06 08:59:53 -0800 |
| commit | 176df894d7974166c65d0cce3b3b019678f9e698 (patch) | |
| tree | 0974ddbd3a00c500268df57aa16a702717fea92e /drivers/fpga/fpga-region.c | |
| 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 <[email protected]>
Reviewed--by: Song Liu <[email protected]>
Tested-by: Song Liu <[email protected]>
Signed-off-by: Song Liu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/fpga/fpga-region.c')
0 files changed, 0 insertions, 0 deletions