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-08 05:41:15 +0000
commit8a4577423e82c54942a9390658d059f1169187b1 (patch)
tree203ecbbc0b99f329e011e1dcd7953ad7add62d7e
parent4748db6ffd422f8b52d49f5e2982628ac52afb8c (diff)
downloadsrc-8a4577423e82c54942a9390658d059f1169187b1.tar.gz
src-8a4577423e82c54942a9390658d059f1169187b1.zip
ffs/ffs_rawread.c: clean up includes
Sponsored by: The FreeBSD Foundation MFC after: 1 week
-rw-r--r--sys/ufs/ffs/ffs_rawread.c21
1 files changed, 9 insertions, 12 deletions
diff --git a/sys/ufs/ffs/ffs_rawread.c b/sys/ufs/ffs/ffs_rawread.c
index affdd7095151..ef93c1ab6783 100644
--- a/sys/ufs/ffs/ffs_rawread.c
+++ b/sys/ufs/ffs/ffs_rawread.c
@@ -26,22 +26,21 @@
* SUCH DAMAGE.
*/
-#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>
@@ -53,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,