From nobody Fri May 3 17:37:31 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) client-ip=216.205.24.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=fail(p=none dis=none) header.from=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1600936754; cv=none; d=zohomail.com; s=zohoarc; b=bAxBPUQKKhL5eWfdAU3lgpj9ZozdUi54Oo/DfOhbl8rsdAHvw1ZhcaOAcERuFpJewDcGCgDh1soDd29gBpk7P7IXlSIJpu6R9DskFoQSnkC4m/b2kY67fSxoX90GMT/yI2LWR1HyrEUon3pIe8ztlbju09KPzU+E6u8O3SU/1BA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1600936754; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=sgDna5upm26aoV21WA4DsjCqdcGjSkeboOBgaiHAS4Q=; b=hP1xyvj674G1aZQninNMf6y4u3JxRm7KdpqY2nkYJ7Rrskc0fUaZCqhv1oKPYfGrQUASTnH14Rgs2vzglndxvmyZILphvCbjsXxrAekBgx4HNByZJZumBZeB5JFqxhY+iVoKxfEe9FNAp7f7WN8DHi4G7S8umplT/MCmHvlI9fg= ARC-Authentication-Results: i=1; mx.zohomail.com; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mx.zohomail.com with SMTPS id 1600936754572798.006880120886; Thu, 24 Sep 2020 01:39:14 -0700 (PDT) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-591-jFfRTKxTPbyrmvF5unkuhg-1; Thu, 24 Sep 2020 04:39:11 -0400 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 1F800802B4A; Thu, 24 Sep 2020 08:39:06 +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 BB76678827; Thu, 24 Sep 2020 08:39:05 +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 71ADF181A86E; Thu, 24 Sep 2020 08:39:05 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 08O0o8G6031010 for ; Wed, 23 Sep 2020 20:50:08 -0400 Received: by smtp.corp.redhat.com (Postfix) id AF53810087D3; Thu, 24 Sep 2020 00:50:08 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast05.extmail.prod.ext.rdu2.redhat.com [10.11.55.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id A8B8E1007A32 for ; Thu, 24 Sep 2020 00:50:05 +0000 (UTC) Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [205.139.110.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 746E3800296 for ; Thu, 24 Sep 2020 00:50:05 +0000 (UTC) Received: from mail-pl1-f195.google.com (mail-pl1-f195.google.com [209.85.214.195]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-460-aWaQeHjlPia_C2rmqNGgKA-1; Wed, 23 Sep 2020 20:50:03 -0400 Received: by mail-pl1-f195.google.com with SMTP id u4so699380plr.4 for ; Wed, 23 Sep 2020 17:50:02 -0700 (PDT) Received: from mail.buraks.net ([203.14.171.100]) by smtp.gmail.com with ESMTPSA id q21sm884288pgt.48.2020.09.23.17.49.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Sep 2020 17:50:01 -0700 (PDT) Received: by mail.buraks.net (sSMTP sendmail emulation); Thu, 24 Sep 2020 10:49:56 +1000 X-MC-Unique: jFfRTKxTPbyrmvF5unkuhg-1 X-MC-Unique: aWaQeHjlPia_C2rmqNGgKA-1 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:mime-version :content-transfer-encoding; bh=sgDna5upm26aoV21WA4DsjCqdcGjSkeboOBgaiHAS4Q=; b=LRi5WXpUH3wV8QDja5bRABRewsBQeugOMlxdyVt6ffnh2tOqN6/8bgZuRD1eBM9XlJ 37hoWNqfMuh2ZCHGxqf9wDi0a0Hd7kuls0sS0bwoR7h3y4x/AXTYTKrY+dEivcPAXyTW plqZUv+apCVijh2u4jCJe4+hVBys45mtieC7HHlgDkFEAbg4QkiXdmpGCfm95hjICMeB 3jU8zyK2K3ZeS7Iplx8OgUM9oBncwt3kKUR2pSibjKXL4TAmmJIx20XWpVh0mFYKc58g yWbd3ioC2bnt3bHSggMo7oozxKAN/ejVuj4x+ynwy9bBs8y0mmlLNxtG51EV8HCc12A8 yeSg== X-Gm-Message-State: AOAM5305EYLArgrJFo7n26Xt+0FTz1H8dLdaDQPeV2uS68Er404CygxK piP4fZE1Zpm5b9/T7fmVe+uXGic598o= X-Google-Smtp-Source: ABdhPJyHvkTxQNhm1KcKEQJqD5q4jWQOHH/fAhK0Jd+ylgq/fQqQsSxxUm+37c0yXyNWSlx0Gnb3mw== X-Received: by 2002:a17:902:ed12:b029:d2:166:6411 with SMTP id b18-20020a170902ed12b02900d201666411mr2139926pld.59.1600908601799; Wed, 23 Sep 2020 17:50:01 -0700 (PDT) From: richardburakowski@gmail.com X-Google-Original-From: richardb@gmail.com To: libvir-list@redhat.com Subject: [PATCH] the leading space in volmode check will never match the leading tab output from zfs get Date: Thu, 24 Sep 2020 10:48:10 +1000 Message-Id: <20200924004810.3647088-1-richard.burakowski@groupm.com> MIME-Version: 1.0 X-Mimecast-Impersonation-Protect: Policy=CLT - Impersonation Protection Definition; Similar Internal Domain=false; Similar Monitored External Domain=false; Custom External Domain=false; Mimecast External Domain=false; Newly Observed Domain=false; Internal User Name=false; Custom Display Name List=false; Reply-to Address Mismatch=false; Targeted Threat Dictionary=false; Mimecast Threat Dictionary=false; Custom Threat Dictionary=false; X-Scanned-By: MIMEDefang 2.78 on 10.11.54.3 X-loop: libvir-list@redhat.com X-Mailman-Approved-At: Thu, 24 Sep 2020 04:39:04 -0400 Cc: Richard Burakowski , Richard Burakowski 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: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=libvir-list-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Signed-off-by: Richard Burakowski --- src/storage/storage_backend_zfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/storage/storage_backend_zfs.c b/src/storage/storage_backen= d_zfs.c index dc692f47ed..439f5b2fd5 100644 --- a/src/storage/storage_backend_zfs.c +++ b/src/storage/storage_backend_zfs.c @@ -71,7 +71,7 @@ virStorageBackendZFSVolModeNeeded(void) return ret; } =20 - if (strstr(error, " volmode ")) + if (strstr(error, "volmode ")) return 1; else return 0; --=20 2.26.2