svn commit: r324054 - head/sys/kern

Guy Yur guyyur at gmail.com
Thu Oct 5 14:17:51 UTC 2017


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


More information about the svn-src-head mailing list