Commit 289b50d
committed
dm-raid: do not include dm-core.h
JIRA: https://issues.redhat.com/browse/RHEL-119009
Upstream Status: kernel/git/torvalds/linux.git
commit 8d05316
Author: Pavel Tikhomirov <ptikhomirov@virtuozzo.com>
Date: Mon Jul 21 11:49:13 2025 +0800
dm-raid: do not include dm-core.h
In commit 4cc9613 ("dm: move request-based code out to dm-rq.[hc]")
we have a note: "DM targets should _never_ include dm-core.h!". And it
is not used in any DM targets except dm-raid now, so let's remove it
from dm-raid for consistency, also use special helpers instead of
accessing dm_table and mapper_device fields directly. This change is
merely a cleanup and should not affect functionality.
Signed-off-by: Pavel Tikhomirov <ptikhomirov@virtuozzo.com>
Reviewed-by: Yu Kuai <yukuai3@huawei.com>
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Benjamin Marzinski <bmarzins@redhat.com>1 parent 6c3593b commit 289b50d
1 file changed
+1
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | 17 | | |
19 | 18 | | |
20 | 19 | | |
| |||
3313 | 3312 | | |
3314 | 3313 | | |
3315 | 3314 | | |
3316 | | - | |
| 3315 | + | |
3317 | 3316 | | |
3318 | 3317 | | |
3319 | 3318 | | |
| |||
0 commit comments