[libvirt] [PATCH 1/3] apparmor: fix typoes in virt-aa-helper

Guannan Ren gren at redhat.com
Thu Oct 25 06:51:37 UTC 2012


---
 src/security/virt-aa-helper.c |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/src/security/virt-aa-helper.c b/src/security/virt-aa-helper.c
index 263fc92..3c3449c 100644
--- a/src/security/virt-aa-helper.c
+++ b/src/security/virt-aa-helper.c
@@ -924,10 +924,9 @@ get_files(vahControl * ctl)
         /* XXX - if we knew the qemu user:group here we could send it in
          *        so that the open could be re-tried as that user:group.
          */
-        disk->chain = virStorageFileGetMetadata(disk->src, disk->format,
-                                                -1, -1,
-                                                ctl->allowDiskFormatProbing,
-                                                NULL);
+        disk->backingChain = virStorageFileGetMetadata(disk->src, disk->format,
+                                                       -1, -1,
+                                                       ctl->allowDiskFormatProbing);
 
         /* XXX passing ignoreOpenFailure = true to get back to the behavior
          * from before using virDomainDiskDefForeachPath. actually we should
-- 
1.7.3.4




More information about the libvir-list mailing list