From eae1767d8fa424262e4ef095e5fc12968dbfe054 Mon Sep 17 00:00:00 2001 From: Ryan Libby Date: Mon, 24 Jun 2024 10:05:58 -0700 Subject: [PATCH] vfs: move __always_inline to canonical position Ahead of including inline in __always_inline, move __always_inline to where inline goes. Reviewed by: kib, olce Sponsored by: Dell EMC Isilon Differential Revision: https://reviews.freebsd.org/D45709 --- sys/kern/vfs_default.c | 2 +- sys/kern/vfs_subr.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/kern/vfs_default.c b/sys/kern/vfs_default.c index 67c7ace5f72..1393f2fce9f 100644 --- a/sys/kern/vfs_default.c +++ b/sys/kern/vfs_default.c @@ -1240,7 +1240,7 @@ vop_stdunset_text(struct vop_unset_text_args *ap) __assert_unreachable(); } -static int __always_inline +static __always_inline int vop_stdadd_writecount_impl(struct vop_add_writecount_args *ap, bool handle_msync) { struct vnode *vp; diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c index f8f4c2a868f..52712b99aba 100644 --- a/sys/kern/vfs_subr.c +++ b/sys/kern/vfs_subr.c @@ -3980,7 +3980,7 @@ vdrop(struct vnode *vp) vdropl(vp); } -static void __always_inline +static __always_inline void vdropl_impl(struct vnode *vp, bool enqueue) {