On 03/01/2017 02:03 AM, Shaohua Li wrote:
On Fri, Feb 24, 2017 at 11:15:11AM +0800, Guoqing Jiang wrote:
md-cluster.h is already included in md.h, so remove
the redundant one and we don't want to cross include
header file too.
Reviewed-by: NeilBrown <neilb@xxxxxxxx>
Signed-off-by: Guoqing Jiang <gqjiang@xxxxxxxx>
It would be better md.h doesn't include md-cluster.h and include md-cluster.h
in required .c files.
Currently, there are compile dependency since md_cluster_operations and
md_cluster_info (though it need to move from md-cluster.c to md-cluster.h
in future) are used inside md.h. Anyway, I will consider about how to
improve
this.
Thanks,
Guoqing
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html