diff options
author | 2025-02-15 17:22:20 +0800 | |
---|---|---|
committer | 2025-03-05 00:26:21 +0800 | |
commit | bf0a73264fa4a66612338da3fbc46262daa97881 (patch) | |
tree | ca8d9468f27b50e57ef26912a66152c0507e284c /scripts/generate_rust_analyzer.py | |
parent | md: merge common code into find_pers() (diff) | |
download | linux-rng-bf0a73264fa4a66612338da3fbc46262daa97881.tar.xz linux-rng-bf0a73264fa4a66612338da3fbc46262daa97881.zip |
md: only include md-cluster.h if necessary
md-cluster is only supportted by raid1 and raid10, there is no need to
include md-cluster.h for other personalities.
Also move APIs that is only used in md-cluster.c from md.h to
md-cluster.h.
Link: https://lore.kernel.org/linux-raid/20250215092225.2427977-3-yukuai1@huaweicloud.com
Signed-off-by: Yu Kuai <yukuai3@huawei.com>
Reviewed-by: Su Yue <glass.su@suse.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions