Commit 8d05316
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 <[email protected]>
Reviewed-by: Yu Kuai <[email protected]>
Signed-off-by: Mikulas Patocka <[email protected]>1 parent 225b2cb commit 8d05316
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 | | |
| |||
3309 | 3308 | | |
3310 | 3309 | | |
3311 | 3310 | | |
3312 | | - | |
| 3311 | + | |
3313 | 3312 | | |
3314 | 3313 | | |
3315 | 3314 | | |
| |||
0 commit comments