[libvirt] [PATCH v1 05/23] virSecurityDACSetOwnership: Pass virSecurityDACDataPtr

Peter Krempa pkrempa at redhat.com
Fri Oct 16 05:47:35 UTC 2015


On Mon, Oct 12, 2015 at 12:25:50 +0200, Michal Privoznik wrote:
> This is pure code adjustment. The structure is going to be needed
> later as it will hold a reference that will be used to talk to
> virtlockd. However, so far this is no functional change just code
> preparation.
> 
> Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
> ---
>  src/security/security_dac.c | 31 +++++++++++++++++--------------
>  1 file changed, 17 insertions(+), 14 deletions(-)

Since you are changing every caller you might as well as get rid of the
'virSecurityDACSetOwnership' wrapper completely and rename
virSecurityDACSetOwnershipInternal.

The original purpose of virSecurityDACSetOwnership was to avoid
changing every caller.

Peter

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20151016/9a7cf762/attachment-0001.sig>


More information about the libvir-list mailing list