svn commit: r324054 - head/sys/kern

Emmanuel Vadot manu at bidouilliste.com
Thu Oct 5 15:10:25 UTC 2017


On Thu, 5 Oct 2017 17:17:48 +0300
Guy Yur <guyyur at gmail.com> wrote:

> On 27 September 2017 at 12:39, Emmanuel Vadot <manu at freebsd.org> wrote:
> > Author: manu
> > Date: Wed Sep 27 09:39:16 2017
> > New Revision: 324054
> > URL: https://svnweb.freebsd.org/changeset/base/324054
> >
> > Log:
> >   vfs_export: Simplify vfs_export_lookup
> >
> >   If the filesystem is not exported directly return NULL.
> >   If no address is given and filesystem is exported using some default
> >   one return it directly, if it doesn't have a default one directly
> >   return NULL.
> >
> >   Reviewed by:  kib, bapt
> >   MFC after:    1 week
> >   Sponsored by: Gandi.net
> >   Differential Revision:        https://reviews.freebsd.org/D12505
> >
> > Modified:
> >   head/sys/kern/vfs_export.c
> >
> > ...
> > _______________________________________________
> > svn-src-head at freebsd.org mailing list
> > https://lists.freebsd.org/mailman/listinfo/svn-src-head
> > To unsubscribe, send any mail to "svn-src-head-unsubscribe at freebsd.org"
> 
> Hi,
> 
> After this commit I can't mount from a host with the following exports:
> 
> # cat /etc/exports
> /export -ro
> /export/obj -maproot=root
> V4: /export
> 
> # cat /etc/fstab
> ...
> /usr/obj  /export/obj  nullfs  rw  0  0
> 
> # mount -t nfs -oro,nfsv4 vm4:/obj /mnt
> mount_nfs: nmount: /mnt: Permission denied
> 
> 
> Adding debug prints:
> nam = 0xfffff80002c10700
> saddr->sa_family = 28
> rnh = 0
> 
> Before the commit, rnh == NULL would continue to MNT_DEFEXPORTED check.
> 
> 
> Thanks,
> Guy

 Hello,

 Could you see if
https://people.freebsd.org/~manu/0001-vfs_export_lookup-Fix-r324054.patch
fixes it ?

 I won't have time to test or commit today but will tomorow.
 Thanks,

-- 
Emmanuel Vadot <manu at bidouilliste.com> <manu at freebsd.org>


More information about the svn-src-head mailing list