From owner-svn-src-head@freebsd.org Thu Oct 5 15:10:25 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 1C72CE3ADE5; Thu, 5 Oct 2017 15:10:25 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.blih.net", Issuer "mail.blih.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 1C1BC74F2F; Thu, 5 Oct 2017 15:10:23 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) by mail.blih.net (OpenSMTPD) with ESMTP id 9dd24c17; Thu, 5 Oct 2017 17:10:20 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; s=mail; bh=JmUEVhrQ0Nc/IRxrYUxftFKWEAc=; b=hkACNLa3s5CqFQM8yZcwJD6X1b1t vqVVKYb5dXitnamFOEFVHmnyYFs63nXVlHEbFWA4gStg472QlSTilw3xDAmKQkCy PNLVR6sWklAjeerP84oVolluXYfCCWm/5LeYFbgal1VPxxw1H2ZJyQc6bgMK9jJN Nk99U5Sh1u3gZFI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; q=dns; s= mail; b=jBL/WL0zIEjd3YMXuZbKoeokEsNg43aWop7K/aeQb96cQm2/LJYaSSjI JaFCWObimp6LoF156x7rhxOxoUhSFqrODyDhh/pB+PbU2EpFxadThCIIbznjPiXR +V1VmGLhwJplDVHgd3B2VOVmmu4791EwE2e1omsYVNjTfSJVOrs= Received: from arcadia (evadot.gandi.net [217.70.181.36]) by mail.blih.net (OpenSMTPD) with ESMTPSA id 05040498 TLS version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; Thu, 5 Oct 2017 17:10:20 +0200 (CEST) Date: Thu, 5 Oct 2017 17:10:19 +0200 From: Emmanuel Vadot To: Guy Yur Cc: Emmanuel Vadot , 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: References: <201709270939.v8R9dGhR063228@repo.freebsd.org> X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.31; amd64-portbld-freebsd12.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 15:10:25 -0000 On Thu, 5 Oct 2017 17:17:48 +0300 Guy Yur wrote: > 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 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