Date: Thu, 5 Oct 2017 17:10:19 +0200 From: Emmanuel Vadot <manu@bidouilliste.com> To: Guy Yur <guyyur@gmail.com> Cc: Emmanuel Vadot <manu@freebsd.org>, src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r324054 - head/sys/kern Message-ID: <20171005171019.d77c9f4fabd2d431d7033a4a@bidouilliste.com> In-Reply-To: <CAC67Hz_nLL0AKJHkY4u0-cucDJU3x7iarpmri4FgiQvibCPFEw@mail.gmail.com> References: <201709270939.v8R9dGhR063228@repo.freebsd.org> <CAC67Hz_nLL0AKJHkY4u0-cucDJU3x7iarpmri4FgiQvibCPFEw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 5 Oct 2017 17:17:48 +0300 Guy Yur <guyyur@gmail.com> wrote: > On 27 September 2017 at 12:39, Emmanuel Vadot <manu@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@freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/svn-src-head > > To unsubscribe, send any mail to "svn-src-head-unsubscribe@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@bidouilliste.com> <manu@freebsd.org>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20171005171019.d77c9f4fabd2d431d7033a4a>