[lvm-devel] [PATCH 1/3] trivial: fix a comment mistake
Eric Ren
zren at suse.com
Sat Jul 8 17:15:49 UTC 2017
Comments "the pool was originally inactive, deactivate it",
should be "...orginally ative".
Signed-off-by: Eric Ren <zren at suse.com>
---
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 fbe0aed..9a2548f 100644
--- a/lib/metadata/lv_manip.c
+++ b/lib/metadata/lv_manip.c
@@ -7310,7 +7310,7 @@ static int _vg_check_features(struct volume_group *vg,
* If lp->thin OR lp->activate is AY*, activate the pool if not already active.
* If lp->thin, create thin LV within the pool - as a snapshot if lp->snapshot.
* If lp->activate is AY*, activate it.
- * If lp->activate was AN* and the pool was originally inactive, deactivate it.
+ * If lp->activate is AN* and the pool was originally active, deactivate it.
*/
static struct logical_volume *_lv_create_an_lv(struct volume_group *vg,
struct lvcreate_params *lp,
--
2.10.2
More information about the lvm-devel
mailing list