aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2024-01-08 05:36:33 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2024-01-11 16:46:53 +0000
commit2ff28c64288eefab4962f0e826d776dc30287aef (patch)
tree44089477618a8c7056103b624419448a7b9b5c2a
parentcbf323cf503b69516ef19542c4630c0d42d74b05 (diff)
downloadsrc-2ff28c64288eefab4962f0e826d776dc30287aef.tar.gz
src-2ff28c64288eefab4962f0e826d776dc30287aef.zip
ffs/ffs_rawread.c: clean up includes
(cherry picked from commit 8a4577423e82c54942a9390658d059f1169187b1)
-rw-r--r--sys/ufs/ffs/ffs_rawread.c22
1 files changed, 9 insertions, 13 deletions
diff --git a/sys/ufs/ffs/ffs_rawread.c b/sys/ufs/ffs/ffs_rawread.c
index a8df78ee8eff..ef93c1ab6783 100644
--- a/sys/ufs/ffs/ffs_rawread.c
+++ b/sys/ufs/ffs/ffs_rawread.c
@@ -26,23 +26,21 @@
* SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
-#include <sys/param.h>
#include <sys/systm.h>
+#include <sys/bio.h>
+#include <sys/buf.h>
+#include <sys/conf.h>
#include <sys/fcntl.h>
-#include <sys/file.h>
-#include <sys/stat.h>
-#include <sys/proc.h>
+#include <sys/kernel.h>
#include <sys/limits.h>
#include <sys/mount.h>
#include <sys/namei.h>
-#include <sys/vnode.h>
-#include <sys/conf.h>
-#include <sys/filio.h>
-#include <sys/ttycom.h>
-#include <sys/bio.h>
-#include <sys/buf.h>
+#include <sys/proc.h>
#include <sys/rwlock.h>
+#include <sys/stat.h>
+#include <sys/sysctl.h>
+#include <sys/vnode.h>
+
#include <ufs/ufs/extattr.h>
#include <ufs/ufs/quota.h>
#include <ufs/ufs/inode.h>
@@ -54,8 +52,6 @@
#include <vm/vm.h>
#include <vm/vm_extern.h>
#include <vm/vm_object.h>
-#include <sys/kernel.h>
-#include <sys/sysctl.h>
static int ffs_rawread_readahead(struct vnode *vp,
caddr_t udata,