From nobody Wed May 14 12:40:41 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; envelope-from=libvir-list-bounces@redhat.com; helo=mx1.redhat.com; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=fail(p=none dis=none) header.from=gmail.com Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1523827571408297.4353761492398; Sun, 15 Apr 2018 14:26:11 -0700 (PDT) Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 8EC4A3134329; Sun, 15 Apr 2018 21:26:09 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id A379760926; Sun, 15 Apr 2018 21:26:08 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id A18B4180215E; Sun, 15 Apr 2018 21:26:05 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id w3FLQ1E6029019 for ; Sun, 15 Apr 2018 17:26:01 -0400 Received: by smtp.corp.redhat.com (Postfix) id 9DA3F62660; Sun, 15 Apr 2018 21:26:01 +0000 (UTC) Received: from mx1.redhat.com (ext-mx20.extmail.prod.ext.phx2.redhat.com [10.5.110.49]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 970AE5D6A2 for ; Sun, 15 Apr 2018 21:25:58 +0000 (UTC) Received: from mail-wr0-f178.google.com (mail-wr0-f178.google.com [209.85.128.178]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 9C3343134345 for ; Sun, 15 Apr 2018 21:25:47 +0000 (UTC) Received: by mail-wr0-f178.google.com with SMTP id q13so17287662wre.3 for ; Sun, 15 Apr 2018 14:25:47 -0700 (PDT) Received: from rst.wireless.abdn.ac.uk (oa-edu-152-42.wireless.abdn.ac.uk. [137.50.152.42]) by smtp.gmail.com with ESMTPSA id c27sm16736853wrg.75.2018.04.15.14.25.45 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 15 Apr 2018 14:25:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=Yf7qRxjhTPVA9QWuo5PcZtZTriyS9N0O84xxG8I5Vow=; b=CRySyt0NWT6HK9BpvX10ljh1VMBc8xpRKGs8v8X7Kt0HT1xq0LKi+MzesjuepnXOdm EJOoSViy+gWBF8i63j1kcTVpZMFRJDWbytq0W1hvrNDhFWQtTGjQTUhLo5Vy11JdQLYd f2Dqog5AIoLF0B5AxFt6EDt8NNLl6yerpVAtMrJ+7Zwz0aOu6swPOC9nMrtU8C4DrGoR kozvo05RU2aTbZLQ5xmrtzfE6SqvXoSowPpgVfErDx+j9xEaDz/T6FgOOFk/k6qNrvUU 1LBk3asViX1XzpT1NPP4XS4kCviV3Gb3ejVH+dHpaA2N40+Sw65QTAR1W4OIkdLS4BbZ aj6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=Yf7qRxjhTPVA9QWuo5PcZtZTriyS9N0O84xxG8I5Vow=; b=ML8K+kRU2ZXevzbZg/HgVr77uOsyuJNNnZOGTO55f+MxGDEwBht4kD99tfn8q86VPG 8rSQkcFnZKjM9aDBJb+H9OxuzucbDcli/KRwolfhbvIRyrwpo+Ke7xL3mU8IxPtMWuyp ykNakHJZtWSsXHpMmUXMFoFOLDOVKdAR1hLJfavCEx593y6LT+nF8VeYLHHMWwk1zsEZ gyv4Nwcf3z1tyxhaf52hd2JeustWFUv0a+WU7PgHMMAvEqEXWPdsoEo9+dS5LjW4lEb8 i6Rp3dFoSd1zBLAxnF/N+8SAsS2bGtItGMJMcndUGqcqlgb2Eo7OZ7ucjoavsxZOYxQL j2BQ== X-Gm-Message-State: ALQs6tAibsNooyt0k5Mr7LekuEIKJnzUo+WTOEx4F+j5jJ6wVRcY8Gj3 OepmDYTKKRvg7A1SwCn+R1xGs5OQ X-Google-Smtp-Source: AIpwx4+wMqPIo45wjVKQLiv79gdWV484b8E7nUzeS1NnW0ChrK97vc1YGDPGjUuNFpXJPhj6gb/Rcw== X-Received: by 10.223.176.193 with SMTP id j1mr603989wra.3.1523827546091; Sun, 15 Apr 2018 14:25:46 -0700 (PDT) From: Radostin Stoyanov To: libvir-list@redhat.com Date: Sun, 15 Apr 2018 22:25:37 +0100 Message-Id: <20180415212539.19974-2-rstoyanov1@gmail.com> In-Reply-To: <20180415212539.19974-1-rstoyanov1@gmail.com> References: <20180415212539.19974-1-rstoyanov1@gmail.com> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.49]); Sun, 15 Apr 2018 21:25:47 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.49]); Sun, 15 Apr 2018 21:25:47 +0000 (UTC) for IP:'209.85.128.178' DOMAIN:'mail-wr0-f178.google.com' HELO:'mail-wr0-f178.google.com' FROM:'rstoyanov1@gmail.com' RCPT:'' X-RedHat-Spam-Score: 1.55 * (DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM, NML_ADSP_CUSTOM_MED, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_PASS, T_DKIM_INVALID) 209.85.128.178 mail-wr0-f178.google.com 209.85.128.178 mail-wr0-f178.google.com X-Scanned-By: MIMEDefang 2.84 on 10.5.110.49 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-loop: libvir-list@redhat.com Cc: Radostin Stoyanov Subject: [libvirt] [RFC 1/3] lxc: Make lxcContainerMountFSBlock non static X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.49]); Sun, 15 Apr 2018 21:26:10 +0000 (UTC) X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_0 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" Reviewed-by: John Ferlan --- src/lxc/lxc_container.c | 5 +---- src/lxc/lxc_container.h | 4 ++++ 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/lxc/lxc_container.c b/src/lxc/lxc_container.c index 532fd0be0..3b8cb966e 100644 --- a/src/lxc/lxc_container.c +++ b/src/lxc/lxc_container.c @@ -113,9 +113,6 @@ struct __lxc_child_argv { int *nsInheritFDs; }; =20 -static int lxcContainerMountFSBlock(virDomainFSDefPtr fs, - const char *srcprefix, - const char *sec_mount_options); =20 =20 /* @@ -1499,7 +1496,7 @@ static int lxcContainerMountFSBlockHelper(virDomainFS= DefPtr fs, } =20 =20 -static int lxcContainerMountFSBlock(virDomainFSDefPtr fs, +int lxcContainerMountFSBlock(virDomainFSDefPtr fs, const char *srcprefix, const char *sec_mount_options) { diff --git a/src/lxc/lxc_container.h b/src/lxc/lxc_container.h index 641e2d460..3a3564b79 100644 --- a/src/lxc/lxc_container.h +++ b/src/lxc/lxc_container.h @@ -68,4 +68,8 @@ int lxcContainerChown(virDomainDefPtr def, const char *pa= th); =20 bool lxcIsBasicMountLocation(const char *path); =20 +int lxcContainerMountFSBlock(virDomainFSDefPtr fs, + const char *srcprefix, + const char *sec_mount_options); + #endif /* LXC_CONTAINER_H */ --=20 2.14.3 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list