aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2021-01-28 18:30:35 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2021-02-12 01:02:19 +0000
commit0281f88e5dbc8d6f819bf3f22dd11239ff5374ea (patch)
tree0a6e6aa44b781c77a816f614c111aa40369f417a
parentb2c4ca8d2872bc4410626f2b1ceafa49de5828ce (diff)
downloadsrc-0281f88e5dbc8d6f819bf3f22dd11239ff5374ea.tar.gz
src-0281f88e5dbc8d6f819bf3f22dd11239ff5374ea.zip
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
-rw-r--r--sys/ufs/ffs/ffs_vnops.c5
1 files 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)