git: 18ed2ce77a25 - main - fusefs: fix the build without INVARIANTS after 00134a07898

From: Alan Somers <asomers_at_FreeBSD.org>
Date: Sat, 05 Feb 2022 01:44:37 UTC
The branch main has been updated by asomers:

URL: https://cgit.FreeBSD.org/src/commit/?id=18ed2ce77a254f365a4687d6afe8eeba2aad2e13

commit 18ed2ce77a254f365a4687d6afe8eeba2aad2e13
Author:     Alan Somers <asomers@FreeBSD.org>
AuthorDate: 2022-02-05 01:43:23 +0000
Commit:     Alan Somers <asomers@FreeBSD.org>
CommitDate: 2022-02-05 01:44:27 +0000

    fusefs: fix the build without INVARIANTS after 00134a07898
    
    MFC after:      2 weeks
    MFC with:       00134a07898fa807b8a1fcb2596f0e3644143f69
    Reported by:    se
---
 sys/fs/fuse/fuse_vnops.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/sys/fs/fuse/fuse_vnops.c b/sys/fs/fuse/fuse_vnops.c
index 10d64390123d..3de44bf6a023 100644
--- a/sys/fs/fuse/fuse_vnops.c
+++ b/sys/fs/fuse/fuse_vnops.c
@@ -1868,9 +1868,8 @@ fuse_vnop_readdir(struct vop_readdir_args *ap)
 	tresid = uio->uio_resid;
 	err = fuse_filehandle_get_dir(vp, &fufh, cred, pid);
 	if (err == EBADF && mp->mnt_flag & MNT_EXPORTED) {
-		struct fuse_data *data = fuse_get_mpdata(mp);
-
-		KASSERT(data->dataflags & FSESS_NO_OPENDIR_SUPPORT,
+		KASSERT(fuse_get_mpdata(mp)->dataflags
+				& FSESS_NO_OPENDIR_SUPPORT,
 			("FUSE file systems that don't set "
 			 "FUSE_NO_OPENDIR_SUPPORT should not be exported"));
 		/*