From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0700FC433FE for ; Wed, 30 Mar 2022 16:08:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1348617AbiC3QKI (ORCPT ); Wed, 30 Mar 2022 12:10:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40504 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1348633AbiC3QKG (ORCPT ); Wed, 30 Mar 2022 12:10:06 -0400 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 93FCA1E747D; Wed, 30 Mar 2022 09:08:20 -0700 (PDT) Received: by verein.lst.de (Postfix, from userid 2407) id 71FF768AA6; Wed, 30 Mar 2022 18:08:16 +0200 (CEST) Date: Wed, 30 Mar 2022 18:08:16 +0200 From: Christoph Hellwig To: Christian Brauner Cc: Christoph Hellwig , Amir Goldstein , Miklos Szeredi , Al Viro , linux-fsdevel@vger.kernel.org, linux-unionfs@vger.kernel.org, Aleksa Sarai , Giuseppe Scrivano , Rodrigo Campos Catelin , Seth Forshee , Luca Bocassi , Lennart Poettering , =?iso-8859-1?Q?St=E9phane?= Graber , stable@vger.kernel.org Subject: Re: [PATCH v2 02/19] exportfs: support idmapped mounts Message-ID: <20220330160816.GA5633@lst.de> References: <20220330102409.1290850-1-brauner@kernel.org> <20220330102409.1290850-3-brauner@kernel.org> <20220330152635.GB4835@lst.de> <20220330160448.bugfza2akk3zsici@wittgenstein> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220330160448.bugfza2akk3zsici@wittgenstein> User-Agent: Mutt/1.5.17 (2007-11-01) Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org On Wed, Mar 30, 2022 at 06:04:48PM +0200, Christian Brauner wrote: > > This probably wants a Fixes tag, as without it NFS exporting idmapped > > file will give slightly unexpected results. > > I made it so that the nfs kernel server will refuse to be mounted on top > of idmapped mounts in check_export() similar to what I did originally do > for overlayfs. It's unclear what the Fixes: tag would be so I'll just Cc > stable. So knfsd is fine, and the handle_to_name syscall doesn't ever do the equivalent of the subtree check. So with that we probably don't need a Fixes tag - sorry for the noise.