zio.h includes zio_impl.h but zio_impl.h also includes zio.h, so the
header files to contain each other. Get rid of the zio_impl.h include
in zio.h and update zio_inject.c to include zio.h instead of zio_impl.h.
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: cao.xuewen <cao.xuewen@zte.com.cn>
Closes #5439
#ifndef _ZIO_IMPL_H
#define _ZIO_IMPL_H
-#include <sys/zfs_context.h>
-#include <sys/zio.h>
-
#ifdef __cplusplus
extern "C" {
#endif
*/
#include <sys/arc.h>
-#include <sys/zio_impl.h>
+#include <sys/zio.h>
#include <sys/zfs_ioctl.h>
#include <sys/vdev_impl.h>
#include <sys/dmu_objset.h>