Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Oct 2017 17:17:48 +0300
From:      Guy Yur <guyyur@gmail.com>
To:        Emmanuel Vadot <manu@freebsd.org>
Cc:        src-committers@freebsd.org, svn-src-all@freebsd.org,  svn-src-head@freebsd.org
Subject:   Re: svn commit: r324054 - head/sys/kern
Message-ID:  <CAC67Hz_nLL0AKJHkY4u0-cucDJU3x7iarpmri4FgiQvibCPFEw@mail.gmail.com>
In-Reply-To: <201709270939.v8R9dGhR063228@repo.freebsd.org>
References:  <201709270939.v8R9dGhR063228@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAC67Hz_nLL0AKJHkY4u0-cucDJU3x7iarpmri4FgiQvibCPFEw>