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.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no 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 7BFDCC432C1 for ; Tue, 24 Sep 2019 21:33:17 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 525CE207FD for ; Tue, 24 Sep 2019 21:33:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727071AbfIXVdR (ORCPT ); Tue, 24 Sep 2019 17:33:17 -0400 Received: from zeniv.linux.org.uk ([195.92.253.2]:55664 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726236AbfIXVdQ (ORCPT ); Tue, 24 Sep 2019 17:33:16 -0400 Received: from viro by ZenIV.linux.org.uk with local (Exim 4.92.2 #3 (Red Hat Linux)) id 1iCsQr-0005DE-6n; Tue, 24 Sep 2019 21:33:13 +0000 Date: Tue, 24 Sep 2019 22:33:13 +0100 From: Al Viro To: Ian Kent Cc: linux-xfs , David Howells , Dave Chinner , Eric Sandeen Subject: Re: [REPOST PATCH v3 01/16] vfs: Create fs_context-aware mount_bdev() replacement Message-ID: <20190924213313.GH26530@ZenIV.linux.org.uk> References: <156933112949.20933.12761540130806431294.stgit@fedora-28> <156933132524.20933.7026640044241445520.stgit@fedora-28> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <156933132524.20933.7026640044241445520.stgit@fedora-28> User-Agent: Mutt/1.12.1 (2019-06-15) Sender: linux-xfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-xfs@vger.kernel.org On Tue, Sep 24, 2019 at 09:22:05PM +0800, Ian Kent wrote: > From: David Howells > > Create a function, vfs_get_block_super(), that is fs_context-aware and a > replacement for mount_bdev(). It caches the block device pointer and file > open mode in the fs_context struct so that this information can be passed > into sget_fc()'s test and set functions. NAK. Use get_tree_bdev() instead.