aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2022-07-12 13:21:33 -0500
committerEric Sandeen <sandeen@redhat.com>2022-07-12 13:21:33 -0500
commitd6bfc06df0739606eb2a5aa49249001205475e95 (patch)
treed9076bd9feb698124d8a81366e7bd0772c96b59e
parent053fcbc7a2c1d3acb52e5c40de7971f42e3094ee (diff)
downloadxfsprogs-dev-d6bfc06df0739606eb2a5aa49249001205475e95.tar.gz
libxfs: remove xfs_globals.larp
This dummy debugging knob isn't necessary anymore, so get rid of it. Signed-off-by: Darrick J. Wong <djwong@kernel.org> Reviewed-by: Eric Sandeen <sandeen@redhat.com> Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
-rw-r--r--include/xfs_mount.h7
-rw-r--r--libxfs/util.c6
2 files changed, 0 insertions, 13 deletions
diff --git a/include/xfs_mount.h b/include/xfs_mount.h
index 7935e7ea10..ba80aa79d8 100644
--- a/include/xfs_mount.h
+++ b/include/xfs_mount.h
@@ -270,11 +270,4 @@ struct xfs_dquot {
int q_type;
};
-struct xfs_globals {
-#ifdef DEBUG
- bool larp; /* log attribute replay */
-#endif
-};
-extern struct xfs_globals xfs_globals;
-
#endif /* __XFS_MOUNT_H__ */
diff --git a/libxfs/util.c b/libxfs/util.c
index e5e4947720..ef01fcf851 100644
--- a/libxfs/util.c
+++ b/libxfs/util.c
@@ -720,10 +720,4 @@ xfs_fs_mark_healthy(
spin_unlock(&mp->m_sb_lock);
}
-struct xfs_globals xfs_globals = {
-#ifdef DEBUG
- .larp = false, /* log attribute replay */
-#endif
-};
-
void xfs_ag_geom_health(struct xfs_perag *pag, struct xfs_ag_geometry *ageo) { }