Date: Tue, 13 May 2025 23:33:42 GMT From: Mark Johnston <markj@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: c5a769781c1f - main - vfs: Sort includes in vfs_syscalls.c Message-ID: <202505132333.54DNXgUo095113@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=c5a769781c1f6846e1e2cb4cd6aba199a2717105 commit c5a769781c1f6846e1e2cb4cd6aba199a2717105 Author: Mark Johnston <markj@FreeBSD.org> AuthorDate: 2025-05-13 23:26:28 +0000 Commit: Mark Johnston <markj@FreeBSD.org> CommitDate: 2025-05-13 23:27:17 +0000 vfs: Sort includes in vfs_syscalls.c Remove some that are not needed. No functional change intended. Reviewed by: olce, kib MFC after: 1 week Sponsored by: Klara, Inc. Differential Revision: https://reviews.freebsd.org/D50317 --- sys/kern/vfs_syscalls.c | 34 ++++++++++++++++------------------ 1 file changed, 16 insertions(+), 18 deletions(-) diff --git a/sys/kern/vfs_syscalls.c b/sys/kern/vfs_syscalls.c index 3f1462d354fd..f992eccf567f 100644 --- a/sys/kern/vfs_syscalls.c +++ b/sys/kern/vfs_syscalls.c @@ -34,11 +34,9 @@ * SUCH DAMAGE. */ -#include <sys/cdefs.h> #include "opt_capsicum.h" #include "opt_ktrace.h" -#include <sys/param.h> #include <sys/systm.h> #ifdef COMPAT_FREEBSD11 #include <sys/abi_compat.h> @@ -47,33 +45,33 @@ #include <sys/buf.h> #include <sys/capsicum.h> #include <sys/disk.h> -#include <sys/malloc.h> -#include <sys/mount.h> -#include <sys/mutex.h> -#include <sys/sysproto.h> -#include <sys/namei.h> -#include <sys/filedesc.h> -#include <sys/kernel.h> +#include <sys/dirent.h> #include <sys/fcntl.h> #include <sys/file.h> +#include <sys/filedesc.h> #include <sys/filio.h> +#include <sys/jail.h> +#include <sys/kernel.h> +#ifdef KTRACE +#include <sys/ktrace.h> +#endif #include <sys/limits.h> #include <sys/linker.h> +#include <sys/malloc.h> +#include <sys/mount.h> +#include <sys/mutex.h> +#include <sys/namei.h> +#include <sys/priv.h> +#include <sys/proc.h> #include <sys/rwlock.h> #include <sys/sdt.h> #include <sys/stat.h> #include <sys/sx.h> -#include <sys/unistd.h> -#include <sys/vnode.h> -#include <sys/priv.h> -#include <sys/proc.h> -#include <sys/dirent.h> -#include <sys/jail.h> #include <sys/syscallsubr.h> #include <sys/sysctl.h> -#ifdef KTRACE -#include <sys/ktrace.h> -#endif +#include <sys/sysproto.h> +#include <sys/unistd.h> +#include <sys/vnode.h> #include <machine/stdarg.h>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202505132333.54DNXgUo095113>