xfs: remove unused fields from struct xbtree_ifakeroot
authorDarrick J. Wong <djwong@kernel.org>
Thu, 7 Dec 2023 02:40:58 +0000 (18:40 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Thu, 7 Dec 2023 02:45:18 +0000 (18:45 -0800)
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 <djwong@kernel.org>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
fs/xfs/libxfs/xfs_btree_staging.h

index f0d2976050aea4f80fa2864befc49770e139e97f..5f638f711246eef155b83d42828196e6cf33ffb3 100644 (file)
@@ -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. */