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 599BEC00528 for ; Tue, 1 Aug 2023 15:48:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235005AbjHAPs5 (ORCPT ); Tue, 1 Aug 2023 11:48:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33290 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234997AbjHAPs4 (ORCPT ); Tue, 1 Aug 2023 11:48:56 -0400 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 489E3171C for ; Tue, 1 Aug 2023 08:48:55 -0700 (PDT) Received: by verein.lst.de (Postfix, from userid 2407) id C0C976732D; Tue, 1 Aug 2023 17:48:51 +0200 (CEST) Date: Tue, 1 Aug 2023 17:48:51 +0200 From: Christoph Hellwig To: Christian Brauner Cc: Jan Kara , Christoph Hellwig , Al Viro , David Howells , Aleksa Sarai , Karel Zak , linux-fsdevel@vger.kernel.org Subject: Re: [PATCH RFC 2/3] fs: add vfs_cmd_create() Message-ID: <20230801154851.GA12525@lst.de> References: <20230801-vfs-super-exclusive-v1-0-1a587e56c9f3@kernel.org> <20230801-vfs-super-exclusive-v1-2-1a587e56c9f3@kernel.org> <20230801154333.GC12035@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230801154333.GC12035@lst.de> User-Agent: Mutt/1.5.17 (2007-11-01) Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org On Tue, Aug 01, 2023 at 05:43:33PM +0200, Christoph Hellwig wrote: > > + ret = vfs_get_tree(fc); > > + if (ret) > > + return ret; > > The error handling here now fails to set FS_CONTEXT_FAILED. Actually that's still done in the caller. But that just reconfirms my opinion on the shape of the pre-existing code..