[lvm-devel] [PATCH 1/3] trivial: fix a comment mistake

Zdenek Kabelac zkabelac at redhat.com
Mon Jul 10 13:01:03 UTC 2017


Dne 8.7.2017 v 19:15 Eric Ren napsal(a):
> 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.
>    */


Hi

Comment was correct here about preserving inactive state here.
Rest of patches were upstreamed...

Regards

Zdenek






More information about the lvm-devel mailing list