On Tue, Dec 13, 2022 at 12:32:26AM +1100, matthew green wrote:
> "Michael van Elst" writes:
> > Module Name:        src
> > Committed By:       mlelstv
> > Date:               Sun Dec 11 11:31:55 UTC 2022
> >
> > Modified Files:
> >     src/sys/fs/autofs: autofs_vnops.c
> >
> > Log Message:
> > Use genfs_pathconf for VOP_PATHCONF.
> > Fixes bin/57103.
> 
> i see pathconf failures with puffs (mount_psshfs) as well.

psshfs doesn't implement PUFFS_VN_PATHCONF and libpuffs does:

{  
 puffs_vnmsg_pathconf *auxt = auxbuf;
 if (pops->puffs_node_pathconf == NULL) {
  error = 0;
  break;
 }
...
}

So that's "success" with an undefined (?) result.

changing this to

  error = EINVAL;

should help.

Greetings,
-- 
                                Michael van Elst
Internet: mlel...@serpens.de
                                "A potential Snark may lurk in every tree."

Reply via email to