From 13e8c7e4344ec57917f5c74f9bca071274d235ce Mon Sep 17 00:00:00 2001 From: Dave Wysochanski Date: Wed, 1 Jul 2009 17:00:50 +0000 Subject: Rework the toollib interface (process_each_*) on top of new vg_read. Sun May 3 12:32:30 CEST 2009 Petr Rockai * Rework the toollib interface (process_each_*) on top of new vg_read. Rebased 6/26/09 by Dave W. - Add skipping message to process_each_lv - Remove inconsistent_t. --- tools/vgck.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'tools/vgck.c') diff --git a/tools/vgck.c b/tools/vgck.c index 977f4472..63d2d415 100644 --- a/tools/vgck.c +++ b/tools/vgck.c @@ -18,7 +18,7 @@ static int vgck_single(struct cmd_context *cmd __attribute((unused)), const char *vg_name, - struct volume_group *vg, int consistent, + struct volume_group *vg, void *handle __attribute((unused))) { if (!vg_check_status(vg, EXPORTED_VG)) @@ -32,7 +32,6 @@ static int vgck_single(struct cmd_context *cmd __attribute((unused)), int vgck(struct cmd_context *cmd, int argc, char **argv) { - return process_each_vg(cmd, argc, argv, LCK_VG_READ, - VG_INCONSISTENT_ABORT, NULL, + return process_each_vg(cmd, argc, argv, 0, NULL, &vgck_single); } -- cgit