Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Jan 2021 16:20:03 GMT
From:      Alan Somers <asomers@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 34477e25c1d4 - main - fusefs: only check vnode locks with DEBUG_VFS_LOCKS
Message-ID:  <202101031620.103GK3FN054535@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by asomers:

URL: https://cgit.FreeBSD.org/src/commit/?id=34477e25c1d4ea8829415b9e907f67588465cc0a

commit 34477e25c1d4ea8829415b9e907f67588465cc0a
Author:     Alan Somers <asomers@FreeBSD.org>
AuthorDate: 2021-01-01 21:27:03 +0000
Commit:     Alan Somers <asomers@FreeBSD.org>
CommitDate: 2021-01-03 16:19:00 +0000

    fusefs: only check vnode locks with DEBUG_VFS_LOCKS
    
    MFC-With:       37df9d3bba8577fcdd63382ff5a4a5cbb4aa55b4
    Reviewed by:    cem
    Differential Revision:  https://reviews.freebsd.org/D27939
---
 sys/fs/fuse/fuse_vnops.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/fs/fuse/fuse_vnops.c b/sys/fs/fuse/fuse_vnops.c
index 437236882457..f26f96b8be99 100644
--- a/sys/fs/fuse/fuse_vnops.c
+++ b/sys/fs/fuse/fuse_vnops.c
@@ -330,7 +330,7 @@ fuse_vnop_do_lseek(struct vnode *vp, struct thread *td, struct ucred *cred,
 	struct mount *mp = vnode_mount(vp);
 	int err;
 
-	MPASS(VOP_ISLOCKED(vp));
+	ASSERT_VOP_LOCKED(vp, __func__);
 
 	err = fuse_filehandle_getrw(vp, FREAD, &fufh, cred, pid);
 	if (err)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202101031620.103GK3FN054535>