summaryrefslogtreecommitdiffstats
path: root/tools/lvresize.c
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2011-01-13 14:51:32 +0000
committerZdenek Kabelac <zkabelac@redhat.com>2011-01-13 14:51:32 +0000
commitb1b38215ba6d9c45f2db4bbfc707064831b36c91 (patch)
tree55d25c16b3d7047692033f927577e973ee7b2608 /tools/lvresize.c
parentc6e087d54ae132416f3c6b945b178abc1b0284ac (diff)
downloadlvm2-b1b38215ba6d9c45f2db4bbfc707064831b36c91.tar.gz
lvm2-b1b38215ba6d9c45f2db4bbfc707064831b36c91.tar.xz
lvm2-b1b38215ba6d9c45f2db4bbfc707064831b36c91.zip
Add exec_cmd paramater sync_needed
As sync_local_dev_names() cannot be called within activation context, add new parametr which allows to select if the sync call is needed before executing new command.
Diffstat (limited to 'tools/lvresize.c')
-rw-r--r--tools/lvresize.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lvresize.c b/tools/lvresize.c
index c970f3f5..225c4465 100644
--- a/tools/lvresize.c
+++ b/tools/lvresize.c
@@ -179,7 +179,7 @@ static int _fsadm_cmd(struct cmd_context *cmd,
argv[i] = NULL;
- return exec_cmd(cmd, argv, status);
+ return exec_cmd(cmd, argv, status, 1);
}
static int _lvresize_params(struct cmd_context *cmd, int argc, char **argv,