From owner-svn-src-head@freebsd.org Thu Oct 5 14:17:51 2017 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 385EAE39B27; Thu, 5 Oct 2017 14:17:51 +0000 (UTC) (envelope-from guyyur@gmail.com) Received: from mail-wr0-x22c.google.com (mail-wr0-x22c.google.com [IPv6:2a00:1450:400c:c0c::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C204373362; Thu, 5 Oct 2017 14:17:50 +0000 (UTC) (envelope-from guyyur@gmail.com) Received: by mail-wr0-x22c.google.com with SMTP id p10so9157704wrc.6; Thu, 05 Oct 2017 07:17:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=rUqj7hVh0xnymw6LOKQMjjIQ8xIss1NCvRyzFoj56h8=; b=NgkNFClnWXLqej8c7F46lrCpTBaCd/igDbvWvnzu9lEK9tBWFhn/XzB9ZrzbcssG7v H9zT4dBB0EIOT01dmohNyEHfw25Q8O9AJ6j8tK1Eg81llCO7Ezf2D3FelFEKPjpPCl8t xGuq8BNUMvMv72vIy8sVQOkrHQkSm13UcnjMo8AkjQAx6KKiUCEApVXhkazZmIBFAmVf tt6kGpOKdIT/5eKM1JEY+VzinwoxTZqydIZ7cxYpGhcCOA8TVigIE0MAOt/S8GB1hIr+ 1AplQnVCGpwWzODsrlAKqXTja+zGEVuplTXM7uYF0oG8KkmZ63853OfQpjv7b728ZMUx SsxQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=rUqj7hVh0xnymw6LOKQMjjIQ8xIss1NCvRyzFoj56h8=; b=n8xRcrpciblDRMlqwoWhjMIa6jTYVh1f5JLuL7Jw/hsFX5zi0aBhcWmO+f/ThJO0D1 ZqAG8qAFNL/P5G0xwCo+5ESmRRnZOFTnM6pz7WgQGsC3/xwVBdAqRZSY9hxOP/bw2q86 zT6B8C7d//Gd8LUd7u6T11h3Fksb5ykU05prxDoaM6A9Mrli3oNeU0VR8f/HJCJIcHJx DxDzzAeI0vamxYXxBQ0cPDxYGWOlGmgHVVeNqTkV9GNsZ/ixXoksl+Dd0FQP7GSwhVNZ 6kISwQIrR/pk1PLE9TALKGw4Nf4h7nn9UIM2pXCQThdQiBR0CnfJWQZuynJ3fLgPNaPR /eAA== X-Gm-Message-State: AMCzsaUX1xPpHJwcphqY37qabPL7uzbZTqXysW4SnDbTtzI0T4Dk4/LA S4AxbCMN4J4Ed67DZ70yyQpCRXoxU7tvP7aXB7fkfQ== X-Google-Smtp-Source: AOwi7QC6hK55GpWO7dre3kUoAXaASqBG6Eh+62cJ26RCMVaSsF6hfvtDwfZ65x0/nvjzfIQfAQ2d2D95yU6yW1OAvMM= X-Received: by 10.223.172.11 with SMTP id v11mr10438040wrc.95.1507213069004; Thu, 05 Oct 2017 07:17:49 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.197.141 with HTTP; Thu, 5 Oct 2017 07:17:48 -0700 (PDT) In-Reply-To: <201709270939.v8R9dGhR063228@repo.freebsd.org> References: <201709270939.v8R9dGhR063228@repo.freebsd.org> From: Guy Yur Date: Thu, 5 Oct 2017 17:17:48 +0300 Message-ID: Subject: Re: svn commit: r324054 - head/sys/kern To: Emmanuel Vadot Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Content-Type: text/plain; charset="UTF-8" X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Oct 2017 14:17:51 -0000 On 27 September 2017 at 12:39, Emmanuel Vadot 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