From patchwork Thu May 7 12:18:32 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christoph Hellwig X-Patchwork-Id: 11533385 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 6100817EF for ; Thu, 7 May 2020 12:20:30 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3F278208E4 for ; Thu, 7 May 2020 12:20:30 +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="tP9PHU6J" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726913AbgEGMU3 (ORCPT ); Thu, 7 May 2020 08:20:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57204 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726908AbgEGMU3 (ORCPT ); Thu, 7 May 2020 08:20:29 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 89659C05BD43 for ; Thu, 7 May 2020 05:20:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender :Reply-To:Content-Type:Content-ID:Content-Description; bh=KxYIxUBgQRP0oeiQHvsygtJwoTC/sqgft1m43OsJNZs=; b=tP9PHU6JJWOjCc3B3n5zKEGBIk kaliMjNmMTFUWbuzqTAj822zeawNGkmgtbGBi0LD9L70TMhNCZUADMopUqSgJfePEuEy4qABCt04S tqpcWBDZJ50x5aBg3yCcb1CLZC3iW3RtqCAUPAyv1yxld0OaaA3CxUi5M2BHiioVCTesR9jnVR+nZ 57Us3fiQtG/YWJL6v60vdhneT56NwVoKLKVLrGgHkuXm7k+aY1cT15aMvh+14FfLsuxeZ7h+0OxYd TWYXSB/yckgDvMA73dj8b3uh7RfGdgjGpmuSOpKB5ADIR8vB5ZX4A2nMHXHHFGc6FgRTWWkbrpND0 sJcjGCMg==; Received: from [2001:4bb8:180:9d3f:c70:4a89:bc61:2] (helo=localhost) by bombadil.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1jWfVt-0007gP-2M; Thu, 07 May 2020 12:20:29 +0000 From: Christoph Hellwig To: sandeen@sandeen.net Cc: linux-xfs@vger.kernel.org, Dave Chinner , "Darrick J . Wong" , Brian Foster Subject: [PATCH 39/58] xfs: introduce new private btree cursor names Date: Thu, 7 May 2020 14:18:32 +0200 Message-Id: <20200507121851.304002-40-hch@lst.de> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200507121851.304002-1-hch@lst.de> References: <20200507121851.304002-1-hch@lst.de> MIME-Version: 1.0 X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-xfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-xfs@vger.kernel.org From: Dave Chinner Source kernel commit: 7cace18ab576ef65d16498d3a9e2170fff5f5c93 Just the defines of the new names - the conversion will be in scripted commits after this. Signed-off-by: Dave Chinner Reviewed-by: Darrick J. Wong [darrick: change "bc_bt" to "bc_ino"] Signed-off-by: Darrick J. Wong Reviewed-by: Brian Foster Signed-off-by: Christoph Hellwig --- libxfs/xfs_btree.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libxfs/xfs_btree.h b/libxfs/xfs_btree.h index 8bead747..88750586 100644 --- a/libxfs/xfs_btree.h +++ b/libxfs/xfs_btree.h @@ -224,6 +224,8 @@ typedef struct xfs_btree_cur #define XFS_BTCUR_BPRV_INVALID_OWNER (1<<1) /* for ext swap */ } b; } bc_private; /* per-btree type data */ +#define bc_ag bc_private.a +#define bc_ino bc_private.b } xfs_btree_cur_t; /* cursor flags */