These two functions (virSecurityDACSetOwnership and
virSecurityDACRestoreFileLabelInternal) do not really change
@src. Make it const.
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: John Ferlan <jferlan@redhat.com>
static int
virSecurityDACSetOwnership(virSecurityManagerPtr mgr,
- virStorageSourcePtr src,
+ const virStorageSource *src,
const char *path,
uid_t uid,
gid_t gid)
static int
virSecurityDACRestoreFileLabelInternal(virSecurityManagerPtr mgr,
- virStorageSourcePtr src,
+ const virStorageSource *src,
const char *path)
{
virSecurityDACDataPtr priv = virSecurityManagerGetPrivateData(mgr);