There is no need to export a libxfs_xinit with the somewhat unsuitable
name x from libxlog. Move it into the tools linking against libxlog
that actually need it.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
struct xfs_mount *mp;
static struct xlog xlog;
xfs_agnumber_t cur_agno = NULLAGNUMBER;
+libxfs_init_t x;
static void
usage(void)
extern int print_skip_uuid;
extern int print_record_header;
-/* libxfs parameters */
-extern libxfs_init_t x;
-
void xlog_init(struct xfs_mount *mp, struct xlog *log);
int xlog_is_dirty(struct xfs_mount *mp, struct xlog *log);
int print_exit;
int print_skip_uuid;
int print_record_header;
-libxfs_init_t x;
void
xlog_init(
int print_no_data;
int print_no_print;
static int print_operation = OP_PRINT;
+static struct libxfs_xinit x;
static void
usage(void)
/* If nonzero, simulate failure after this phase. */
extern int fail_after_phase;
+extern libxfs_init_t x;
+
#endif /* _XFS_REPAIR_GLOBAL_H */
#include "libfrog/dahashselftest.h"
#include <sys/resource.h>
+struct libxfs_xinit x;
+
static void
ts_create(void)
{