git: 2ff28c64288e - stable/14 - ffs/ffs_rawread.c: clean up includes
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 12 Jan 2024 12:01:29 UTC
The branch stable/14 has been updated by kib:
URL: https://cgit.FreeBSD.org/src/commit/?id=2ff28c64288eefab4962f0e826d776dc30287aef
commit 2ff28c64288eefab4962f0e826d776dc30287aef
Author: Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2024-01-08 05:36:33 +0000
Commit: Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2024-01-11 16:46:53 +0000
ffs/ffs_rawread.c: clean up includes
(cherry picked from commit 8a4577423e82c54942a9390658d059f1169187b1)
---
sys/ufs/ffs/ffs_rawread.c | 22 +++++++++-------------
1 file 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,