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 X-Spam-Level: X-Spam-Status: No, score=-2.3 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_PASS,USER_AGENT_MUTT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3B812C43381 for ; Thu, 21 Mar 2019 18:36:56 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 12A4B21902 for ; Thu, 21 Mar 2019 18:36:56 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="U6EqsUTm" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728564AbfCUSgz (ORCPT ); Thu, 21 Mar 2019 14:36:55 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:35762 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728138AbfCUSgy (ORCPT ); Thu, 21 Mar 2019 14:36:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=G7L3nFcKlpR2obiOc4WznXE1dYnCBETYLoCiCw7awJg=; b=U6EqsUTm8+ezAw3ydIUAi1ZNj p3zwXqQFvZnWVX2nPCS7xeYa/Qjs7/5UvPq6UwVcahPvIzPh72uxvxkyBD0qNVfF7Xj3alPFT7Agu Zeg++Oz4m2KfAnzrNPeONsCCw2y2KK8iS0xjDp2A37WFIa29cqbO/1E+GccbMNNNFLGKm9l9qUpoF tedEKXOuvacwYXpMwEb4EaphKP8T5hT6cqNaby+Ca7iBexjP7OjUBaCmyNThn2NDhj+QxUIcGBJfS IRGEFoqgcBEd8YchqX13wLCsPk38b3wofu3SQK0HZc8r6LJxUdMC3HbIKed9Y8Xdc1zySxdIT83Od O58U6bmgA==; Received: from willy by bombadil.infradead.org with local (Exim 4.90_1 #2 (Red Hat Linux)) id 1h72Yg-0005SY-Io; Thu, 21 Mar 2019 18:36:54 +0000 Date: Thu, 21 Mar 2019 11:36:54 -0700 From: Matthew Wilcox To: Andrew Price Cc: cluster-devel@redhat.com, dhowells@redhat.com, linux-fsdevel@vger.kernel.org Subject: Re: [PATCH] vfs: Allow selection of fs root independent of sb Message-ID: <20190321183654.GB19508@bombadil.infradead.org> References: <27020.1553188118@warthog.procyon.org.uk> <20190321172644.17218-1-anprice@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190321172644.17218-1-anprice@redhat.com> User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-fsdevel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org On Thu, Mar 21, 2019 at 05:26:44PM +0000, Andrew Price wrote: > Take a function pointer 'select_root' in vfs_get_block_super() to allow > callers to select the root dentry based on the context. Can't this be a fs_context_operations pointer? From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthew Wilcox Date: Thu, 21 Mar 2019 11:36:54 -0700 Subject: [Cluster-devel] [PATCH] vfs: Allow selection of fs root independent of sb In-Reply-To: <20190321172644.17218-1-anprice@redhat.com> References: <27020.1553188118@warthog.procyon.org.uk> <20190321172644.17218-1-anprice@redhat.com> Message-ID: <20190321183654.GB19508@bombadil.infradead.org> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit On Thu, Mar 21, 2019 at 05:26:44PM +0000, Andrew Price wrote: > Take a function pointer 'select_root' in vfs_get_block_super() to allow > callers to select the root dentry based on the context. Can't this be a fs_context_operations pointer?