From: Darrick J. Wong Date: Mon, 15 Apr 2024 23:07:34 +0000 (-0700) Subject: xfs: remove unused fields from struct xbtree_ifakeroot X-Git-Tag: v6.8.0~86 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ae2063cd00524597e19c4fa6cbc02d4659ebd32d;p=thirdparty%2Fxfsprogs-dev.git xfs: remove unused fields from struct xbtree_ifakeroot Source kernel commit: 4c8ecd1cfdd01fb727121035014d9f654a30bdf2 Remove these unused fields since nobody uses them. They should have been removed years ago in a different cleanup series from Christoph Hellwig. Fixes: daf83964a3681 ("xfs: move the per-fork nextents fields into struct xfs_ifork") Fixes: f7e67b20ecbbc ("xfs: move the fork format fields into struct xfs_ifork") Signed-off-by: Darrick J. Wong Reviewed-by: Dave Chinner Reviewed-by: Bill O'Donnell --- diff --git a/libxfs/xfs_btree_staging.h b/libxfs/xfs_btree_staging.h index f0d29760..5f638f71 100644 --- a/libxfs/xfs_btree_staging.h +++ b/libxfs/xfs_btree_staging.h @@ -37,12 +37,6 @@ struct xbtree_ifakeroot { /* Number of bytes available for this fork in the inode. */ unsigned int if_fork_size; - - /* Fork format. */ - unsigned int if_format; - - /* Number of records. */ - unsigned int if_extents; }; /* Cursor interactions with fake roots for inode-rooted btrees. */