Date: Fri, 12 Feb 2021 01:07:00 GMT From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 0281f88e5dbc - main - ffs_vnops.c: Move opt_*.h includes to the top. Message-ID: <202102120107.11C170jg070366@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=0281f88e5dbc8d6f819bf3f22dd11239ff5374ea commit 0281f88e5dbc8d6f819bf3f22dd11239ff5374ea Author: Konstantin Belousov <kib@FreeBSD.org> AuthorDate: 2021-01-28 18:30:35 +0000 Commit: Konstantin Belousov <kib@FreeBSD.org> CommitDate: 2021-02-12 01:02:19 +0000 ffs_vnops.c: Move opt_*.h includes to the top. as it is done in other places. Header files might need options defined for correct operation. Reviewed by: chs, mckusick Tested by: pho Sponsored by: The FreeBSD Foundation MFC after: 1 week --- sys/ufs/ffs/ffs_vnops.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sys/ufs/ffs/ffs_vnops.c b/sys/ufs/ffs/ffs_vnops.c index 6ca98a84869d..68985d8715f3 100644 --- a/sys/ufs/ffs/ffs_vnops.c +++ b/sys/ufs/ffs/ffs_vnops.c @@ -66,6 +66,9 @@ #include <sys/cdefs.h> __FBSDID("$FreeBSD$"); +#include "opt_directio.h" +#include "opt_ffs.h" + #include <sys/param.h> #include <sys/bio.h> #include <sys/systm.h> @@ -99,8 +102,6 @@ __FBSDID("$FreeBSD$"); #include <ufs/ffs/fs.h> #include <ufs/ffs/ffs_extern.h> -#include "opt_directio.h" -#include "opt_ffs.h" #define ALIGNED_TO(ptr, s) \ (((uintptr_t)(ptr) & (_Alignof(s) - 1)) == 0)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202102120107.11C170jg070366>