From: Darrick J. Wong Date: Tue, 12 Jul 2022 18:21:33 +0000 (-0500) Subject: libxfs: remove xfs_globals.larp X-Git-Tag: v5.19.0-rc1~24 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d6bfc06df0739606eb2a5aa49249001205475e95;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 Reviewed-by: Eric Sandeen Signed-off-by: Eric Sandeen --- 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) { }