mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-07 09:00:28 +00:00
fusefs: fix the build without INVARIANTS after 00134a0789
MFC after: 2 weeks
MFC with: 00134a0789
Reported by: se
This commit is contained in:
parent
0c424c90ea
commit
18ed2ce77a
|
@ -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"));
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue