Date: Mon, 15 Jan 2018 01:09:10 +0000 (UTC) From: Mark Johnston <markj@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org Subject: svn commit: r327988 - stable/11/sys/geom/mirror Message-ID: <201801150109.w0F19Aqc051586@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: markj Date: Mon Jan 15 01:09:10 2018 New Revision: 327988 URL: https://svnweb.freebsd.org/changeset/base/327988 Log: MFC r327700: Sort and remove unneeded includes. Modified: stable/11/sys/geom/mirror/g_mirror.c stable/11/sys/geom/mirror/g_mirror_ctl.c Directory Properties: stable/11/ (props changed) Modified: stable/11/sys/geom/mirror/g_mirror.c ============================================================================== --- stable/11/sys/geom/mirror/g_mirror.c Mon Jan 15 01:06:53 2018 (r327987) +++ stable/11/sys/geom/mirror/g_mirror.c Mon Jan 15 01:09:10 2018 (r327988) @@ -29,22 +29,22 @@ __FBSDID("$FreeBSD$"); #include <sys/param.h> #include <sys/systm.h> +#include <sys/bio.h> +#include <sys/eventhandler.h> #include <sys/fail.h> #include <sys/kernel.h> -#include <sys/module.h> +#include <sys/kthread.h> #include <sys/limits.h> #include <sys/lock.h> +#include <sys/malloc.h> #include <sys/mutex.h> -#include <sys/bio.h> +#include <sys/proc.h> #include <sys/sbuf.h> +#include <sys/sched.h> +#include <sys/sx.h> #include <sys/sysctl.h> -#include <sys/malloc.h> -#include <sys/eventhandler.h> -#include <vm/uma.h> + #include <geom/geom.h> -#include <sys/proc.h> -#include <sys/kthread.h> -#include <sys/sched.h> #include <geom/mirror/g_mirror.h> FEATURE(geom_mirror, "GEOM mirroring support"); Modified: stable/11/sys/geom/mirror/g_mirror_ctl.c ============================================================================== --- stable/11/sys/geom/mirror/g_mirror_ctl.c Mon Jan 15 01:06:53 2018 (r327987) +++ stable/11/sys/geom/mirror/g_mirror_ctl.c Mon Jan 15 01:09:10 2018 (r327988) @@ -29,24 +29,17 @@ __FBSDID("$FreeBSD$"); #include <sys/param.h> #include <sys/systm.h> +#include <sys/bio.h> #include <sys/kernel.h> -#include <sys/module.h> #include <sys/limits.h> #include <sys/lock.h> -#include <sys/mutex.h> -#include <sys/bio.h> -#include <sys/sbuf.h> -#include <sys/sysctl.h> #include <sys/malloc.h> -#include <sys/bitstring.h> -#include <vm/uma.h> -#include <machine/atomic.h> +#include <sys/sbuf.h> +#include <sys/sx.h> + #include <geom/geom.h> #include <geom/geom_int.h> -#include <sys/proc.h> -#include <sys/kthread.h> #include <geom/mirror/g_mirror.h> - static struct g_mirror_softc * g_mirror_find_device(struct g_class *mp, const char *name)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201801150109.w0F19Aqc051586>