git: eae1767d8fa4 - main - vfs: move __always_inline to canonical position
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 24 Jun 2024 17:07:26 UTC
The branch main has been updated by rlibby:
URL: https://cgit.FreeBSD.org/src/commit/?id=eae1767d8fa424262e4ef095e5fc12968dbfe054
commit eae1767d8fa424262e4ef095e5fc12968dbfe054
Author: Ryan Libby <rlibby@FreeBSD.org>
AuthorDate: 2024-06-24 17:05:58 +0000
Commit: Ryan Libby <rlibby@FreeBSD.org>
CommitDate: 2024-06-24 17:05:58 +0000
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 67c7ace5f72f..1393f2fce9f3 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 f8f4c2a868f3..52712b99abac 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)
{