]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commitdiff
libxfs: remove xfs_globals.larp
authorDarrick J. Wong <djwong@kernel.org>
Thu, 23 Jun 2022 22:27:54 +0000 (15:27 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 28 Jun 2022 20:42:59 +0000 (13:42 -0700)
This dummy debugging knob isn't necessary anymore, so get rid of it.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
include/xfs_mount.h
libxfs/util.c

index 7935e7ea1091ef912df0c30c88d1f8dd6a3cb6b1..ba80aa79d8b908ad694503c485b53e18b7a33e5e 100644 (file)
@@ -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__ */
index e5e49477209e8e27b704aef27f508e2ddfae94da..ef01fcf851db91d482e04f11b1818dedee9b3f67 100644 (file)
@@ -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) { }