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 9C709C433F5 for ; Fri, 28 Jan 2022 22:01:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230318AbiA1WBJ (ORCPT ); Fri, 28 Jan 2022 17:01:09 -0500 Received: from sandeen.net ([63.231.237.45]:42540 "EHLO sandeen.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229608AbiA1WBJ (ORCPT ); Fri, 28 Jan 2022 17:01:09 -0500 Received: from [10.0.0.147] (liberator.sandeen.net [10.0.0.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by sandeen.net (Postfix) with ESMTPSA id 6BB0378FC; Fri, 28 Jan 2022 16:00:55 -0600 (CST) Message-ID: <4ce4915e-7280-cd1a-b531-8ea75fcb3741@sandeen.net> Date: Fri, 28 Jan 2022 16:01:07 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.5.1 Subject: Re: [PATCH 02/45] xfs_{copy,db,logprint,repair}: pass xfs_mount pointers instead of xfs_sb pointers Content-Language: en-US To: "Darrick J. Wong" Cc: linux-xfs@vger.kernel.org References: <164263784199.860211.7509808171577819673.stgit@magnolia> <164263785372.860211.2348863357770590787.stgit@magnolia> From: Eric Sandeen In-Reply-To: <164263785372.860211.2348863357770590787.stgit@magnolia> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-xfs@vger.kernel.org On 1/19/22 6:17 PM, Darrick J. Wong wrote: > From: Darrick J. Wong > > Where possible, convert these four programs to pass a pointer to a > struct xfs_mount instead of the struct xfs_sb inside the mount. This > will make it easier to convert some of the code to the new > xfs_has_FEATURE predicates later on. > > Signed-off-by: Darrick J. Wong Reviewed-by: Eric Sandeen