[libvirt] [PATCH v2 2/4] virSecurityDeviceLabelDef: substitute 'norelabel' with 'relabel'

Ján Tomko jtomko at redhat.com
Thu Jul 10 15:06:22 UTC 2014


On 07/10/2014 04:04 PM, Michal Privoznik wrote:
> Similarly to the previous commit, boolean variables should not start
> with 'no-' prefix.
> 
> Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
> ---
>  src/conf/domain_conf.c          | 12 ++++++------
>  src/security/security_dac.c     |  8 ++++----
>  src/security/security_selinux.c | 10 +++++-----
>  src/util/virseclabel.c          |  2 +-
>  src/util/virseclabel.h          |  2 +-
>  5 files changed, 17 insertions(+), 17 deletions(-)
> 

> diff --git a/src/util/virseclabel.h b/src/util/virseclabel.h
> index 8d671fd..7eebd60 100644
> --- a/src/util/virseclabel.h
> +++ b/src/util/virseclabel.h
> @@ -51,7 +51,7 @@ typedef virSecurityDeviceLabelDef *virSecurityDeviceLabelDefPtr;
>  struct _virSecurityDeviceLabelDef {
>      char *model;
>      char *label;        /* image label string */
> -    bool norelabel;     /* true to skip label attempts */
> +    bool relabel;       /* should try labeling attempts? */

Same issue as in the first patch.

>      bool labelskip;     /* live-only; true if skipping failed label attempt */
>  };

ACK

Jan

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140710/bfe8181f/attachment-0001.sig>


More information about the libvir-list mailing list