From 91284bd9b913f74a0071082d542c3c09d11524f2 Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Sun, 18 May 2014 20:08:07 +0200 Subject: [PATCH] cleanup: device extent_size first --- lib/metadata/lv_manip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/metadata/lv_manip.c b/lib/metadata/lv_manip.c index 6a24873e8..0eaa719cd 100644 --- a/lib/metadata/lv_manip.c +++ b/lib/metadata/lv_manip.c @@ -3560,7 +3560,7 @@ static int _fsadm_cmd(struct cmd_context *cmd, if (fcmd == FSADM_CMD_RESIZE) { if (dm_snprintf(size_buf, SIZE_BUF, "%" PRIu64 "K", - (uint64_t) lp->extents * vg->extent_size / 2) < 0) { + (uint64_t) lp->extents * (vg->extent_size / 2)) < 0) { log_error("Couldn't generate new LV size string"); return 0; }