From d6bfc06df0739606eb2a5aa49249001205475e95 Mon Sep 17 00:00:00 2001 From: "Darrick J. Wong" Date: Tue, 12 Jul 2022 13:21:33 -0500 Subject: [PATCH] libxfs: remove xfs_globals.larp This dummy debugging knob isn't necessary anymore, so get rid of it. Signed-off-by: Darrick J. Wong Reviewed-by: Eric Sandeen Signed-off-by: Eric Sandeen --- include/xfs_mount.h | 7 ------- libxfs/util.c | 6 ------ 2 files changed, 13 deletions(-) diff --git a/include/xfs_mount.h b/include/xfs_mount.h index 7935e7ea1..ba80aa79d 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 e5e494772..ef01fcf85 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) { } -- 2.47.2