Date: Mon, 25 Aug 2025 15:22:52 GMT From: Mark Johnston <markj@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: b532d0509b71 - stable/14 - tmpfs: Remove uses of DEBUG_VFS_LOCKS Message-ID: <202508251522.57PFMqVT053955@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch stable/14 has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=b532d0509b715858ac7381c3d8f260c010595419 commit b532d0509b715858ac7381c3d8f260c010595419 Author: Mark Johnston <markj@FreeBSD.org> AuthorDate: 2025-07-24 15:29:24 +0000 Commit: Mark Johnston <markj@FreeBSD.org> CommitDate: 2025-08-25 13:57:56 +0000 tmpfs: Remove uses of DEBUG_VFS_LOCKS This assertion can reasonably be checked when plain INVARIANTS is configured, there's no need to configure a separate option. Reviewed by: kib MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D51697 (cherry picked from commit 4b56c7ff6c5b4e4f9dfd2eb09a5a901f4ff9b8b3) --- sys/fs/tmpfs/tmpfs_vnops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/fs/tmpfs/tmpfs_vnops.c b/sys/fs/tmpfs/tmpfs_vnops.c index d67f71202228..f875c6387673 100644 --- a/sys/fs/tmpfs/tmpfs_vnops.c +++ b/sys/fs/tmpfs/tmpfs_vnops.c @@ -384,7 +384,7 @@ static int tmpfs_access_locked(struct vnode *vp, struct tmpfs_node *node, accmode_t accmode, struct ucred *cred) { -#ifdef DEBUG_VFS_LOCKS +#ifdef INVARIANTS if (!mtx_owned(TMPFS_NODE_MTX(node))) { ASSERT_VOP_LOCKED(vp, "tmpfs_access_locked needs locked vnode or node");
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202508251522.57PFMqVT053955>