From nobody Wed May 14 02:27:45 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 1528629295950522.7220289290383; Sun, 10 Jun 2018 04:14:55 -0700 (PDT) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id BACE230820C8; Sun, 10 Jun 2018 11:14:53 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 2A42382F48; Sun, 10 Jun 2018 11:14:53 +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 336EF4CA80; Sun, 10 Jun 2018 11:14:50 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id w5ABEm4Y007988 for ; Sun, 10 Jun 2018 07:14:48 -0400 Received: by smtp.corp.redhat.com (Postfix) id 184445799B; Sun, 10 Jun 2018 11:14:48 +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 128F228DD6 for ; Sun, 10 Jun 2018 11:14:46 +0000 (UTC) Received: from mail-wr0-f175.google.com (mail-wr0-f175.google.com [209.85.128.175]) (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 7BB2A3086244 for ; Sun, 10 Jun 2018 11:14:35 +0000 (UTC) Received: by mail-wr0-f175.google.com with SMTP id o12-v6so17444469wrm.12 for ; Sun, 10 Jun 2018 04:14:35 -0700 (PDT) Received: from rst.Home ([2a02:c7d:692a:c500:1ebc:73f3:5f60:b131]) by smtp.gmail.com with ESMTPSA id f2-v6sm6869448wre.16.2018.06.10.04.14.32 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 10 Jun 2018 04:14:33 -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=rDjOZdf2BtrWOl/K2F+kX6Y6l/VftuLtriDIa1xSZoY=; b=IgmxLnshnVJHULoEQF8wOym3akMtQg6C40+P3wC6w+rqBqpaCTme3SvlLu/NrqAIuF ZVslC+gbpjBdA1MFuYkf50+wcvmWvCAAlrAQUYHRlfeIQoJGihfx/W30sZOHrsXZpoZL zUetG2jHGXHWpN4XNJJC+j+je/jy3EvoieF/hN7QsIrzd8o0ZtJGoev433CNlmCYU7z9 H0vF5AF/z0ES9nvZXy73eulkL6BBy7gizyxK4nSOqWirRgg9Xaykt5rORqvX6nTZ9UM5 pLxDFIoWmpgLR7IlirLiCkImoiKjp2cNCNWrF1u1yvU0LDIT8C/UiMmUPk5gu260gpgC 8Cdg== 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=rDjOZdf2BtrWOl/K2F+kX6Y6l/VftuLtriDIa1xSZoY=; b=mFPBvnWc/Q75R33476FzmHEJPag0EJQA2rmZHZtL2uhfMAFKrPcTqu4lGqnVyQmIF6 wPF5Pp2V+d0poT3TY1PfGIj7Z5yOfdArR+owaObZS0eNb39LsUCmB8V8ZLonRp+o3JwW umMkj1W1+f1TJLfwFgwThrmcl1sgiyRAJuFm8rOv/cX2yWiMXN8RW1P5FB/CEbbTW9lt I0FSaUfg9evNhMQJIrCu+axv2FJJkG3kELaCo2B045Fgs5DDqYAzfFBexOvcIxJ21hRx K1FXp6QjPO6pQq53GHESYNDyGVzT3nyucDT9pl1qMvUwGyPJl8MRDMmf//6ga5JaLWrg IN0A== X-Gm-Message-State: APt69E1K5XOKWdb943IrpMd1HFH+hiAwHq6GaKHtTZCXz762gD9kVumH uW5QEVZyRK3ZyXUX40A8d97/2PyV X-Google-Smtp-Source: ADUXVKIo6dyLm5BswIbuW85nJQDPF2UDvJD4/jKTnoZhQZ5oFrtdHPNgpH3ofKYHapVL+esK2e2ZLA== X-Received: by 2002:adf:a792:: with SMTP id j18-v6mr10499047wrc.187.1528629273963; Sun, 10 Jun 2018 04:14:33 -0700 (PDT) From: Radostin Stoyanov To: libvir-list@redhat.com Date: Sun, 10 Jun 2018 12:14:23 +0100 Message-Id: <20180610111426.5211-2-rstoyanov1@gmail.com> In-Reply-To: <20180610111426.5211-1-rstoyanov1@gmail.com> References: <20180610111426.5211-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, 10 Jun 2018 11:14:35 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.49]); Sun, 10 Jun 2018 11:14:35 +0000 (UTC) for IP:'209.85.128.175' DOMAIN:'mail-wr0-f175.google.com' HELO:'mail-wr0-f175.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.175 mail-wr0-f175.google.com 209.85.128.175 mail-wr0-f175.google.com X-Scanned-By: MIMEDefang 2.84 on 10.5.110.49 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-loop: libvir-list@redhat.com Cc: Radostin Stoyanov Subject: [libvirt] [RFC v2 1/4] 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.16 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.47]); Sun, 10 Jun 2018 11:14:54 +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" --- 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 665b93a0ac..3f6be9f44d 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 641e2d4607..3a3564b794 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.17.1 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list