]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commitdiff
libxfs: remove xfs_globals.larp
authorDarrick J. Wong <djwong@kernel.org>
Tue, 12 Jul 2022 18:21:33 +0000 (13:21 -0500)
committerEric Sandeen <sandeen@redhat.com>
Tue, 12 Jul 2022 18:21:33 +0000 (13:21 -0500)
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>
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) { }