From: Darrick J. Wong Date: Thu, 23 Jun 2022 22:27:54 +0000 (-0700) Subject: libxfs: remove xfs_globals.larp X-Git-Tag: libxfs-5.19-sync_2022-06-28~4 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5364a07f1286cdb75d42b72c439cb9e076075828;p=thirdparty%2Fxfsprogs-dev.git libxfs: remove xfs_globals.larp This dummy debugging knob isn't necessary anymore, so get rid of it. Signed-off-by: Darrick J. Wong --- 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) { }