From nobody Mon Feb 9 10:39:26 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) client-ip=170.10.133.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1662384875; cv=none; d=zohomail.com; s=zohoarc; b=hzciiBHxpAgcHriGlAuN6J7Mli5Nz4Tu8Dto2tyL8eNhfDrzMo96F4XX8mv4m4Dct8XWkLzQCBahU8C+ty3GdvzyPMptvhCHP018lvF9fr2vlzmc5FZe9E0RUIhObLV2hDK4pQpGWK2FAQzOOoAyJA1WLQTGF+Y1sdasJvMkDK0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1662384875; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=5oShIzysYHDgmnoKZ6+/R9OQDwrM7aT1IQfvwMkjRaA=; b=CsLyu8wjRE5H0txinUD+21TPkYsvhqbNUpVl3m/GLi0Rtee1PKullZsl9LoCoNzK/5mBCiWjSmFsbVBXzEwYcAHptccFWQpYWOST9XuGraRhlshG5vi6E7kKeRlkG1mkAJcIZ1EzdfulrpNLb+Gn5MNX5FwcpmALsX7wIldMDN0= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.zohomail.com with SMTPS id 1662384875075910.1998796986896; Mon, 5 Sep 2022 06:34:35 -0700 (PDT) Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-330-QtlAV_u8MxqI0GchQswKIA-1; Mon, 05 Sep 2022 09:34:30 -0400 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id CB47885A58F; Mon, 5 Sep 2022 13:34:28 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (unknown [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id B71522166B26; Mon, 5 Sep 2022 13:34:28 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (localhost [IPv6:::1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id A9FE61946A48; Mon, 5 Sep 2022 13:34:28 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.rdu2.redhat.com [10.11.54.2]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 25B351946A47 for ; Mon, 5 Sep 2022 13:34:27 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 08E3140D283D; Mon, 5 Sep 2022 13:34:27 +0000 (UTC) Received: from speedmetal.lan (unknown [10.40.208.30]) by smtp.corp.redhat.com (Postfix) with ESMTP id C1C0540D282E for ; Mon, 5 Sep 2022 13:34:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1662384873; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=5oShIzysYHDgmnoKZ6+/R9OQDwrM7aT1IQfvwMkjRaA=; b=LNWmx9kW+TdtRYNXUbvj6AN/kVdfGrFeSOXKUUoFTPrT7x9vfe4lCIrpjBknytlQ4hY7Az JOrUxOAU3ZjhlzMz8pLALWRahMolNkqPosG4SFaUIUT5EqyNaQndaBKmyYmub1Adv29jfY 9plQuxy86rnMzlRKzwJl2vDYvIKkQfA= X-MC-Unique: QtlAV_u8MxqI0GchQswKIA-1 X-Original-To: libvir-list@listman.corp.redhat.com From: Peter Krempa To: libvir-list@redhat.com Subject: [PATCH 2/7] util: virFileIsSharedFSType: Annotate (some) shared filesystem names Date: Mon, 5 Sep 2022 15:34:16 +0200 Message-Id: <707110961a10a19a99fca496058343a9bbe12f26.1662384799.git.pkrempa@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.11.54.2 X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libvir-list-bounces@redhat.com Sender: "libvir-list" X-Scanned-By: MIMEDefang 2.78 on 10.11.54.6 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1662384876083100002 Content-Type: text/plain; charset="utf-8" Expand some of the uncommon or unobvious filesystem names in a comment. Signed-off-by: Peter Krempa --- src/util/virfile.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/util/virfile.h b/src/util/virfile.h index 8d6df034f8..c4d11ea21a 100644 --- a/src/util/virfile.h +++ b/src/util/virfile.h @@ -213,15 +213,15 @@ bool virFileIsRegular(const char *file) ATTRIBUTE_NON= NULL(1); enum { VIR_FILE_SHFS_NFS =3D (1 << 0), - VIR_FILE_SHFS_GFS2 =3D (1 << 1), - VIR_FILE_SHFS_OCFS =3D (1 << 2), - VIR_FILE_SHFS_AFS =3D (1 << 3), - VIR_FILE_SHFS_SMB =3D (1 << 4), - VIR_FILE_SHFS_CIFS =3D (1 << 5), + VIR_FILE_SHFS_GFS2 =3D (1 << 1), /* Global File System 2 */ + VIR_FILE_SHFS_OCFS =3D (1 << 2), /* Oracle Cluster FS (2) */ + VIR_FILE_SHFS_AFS =3D (1 << 3), /* Andrew File System */ + VIR_FILE_SHFS_SMB =3D (1 << 4), /* Server message block - windows shar= es */ + VIR_FILE_SHFS_CIFS =3D (1 << 5), /* Common Internet File System - wind= ows shares */ VIR_FILE_SHFS_CEPH =3D (1 << 6), - VIR_FILE_SHFS_GPFS =3D (1 << 7), - VIR_FILE_SHFS_QB =3D (1 << 8), - VIR_FILE_SHFS_ACFS =3D (1 << 9), + VIR_FILE_SHFS_GPFS =3D (1 << 7), /* General Parallel File System/IBM S= pectrum Scale */ + VIR_FILE_SHFS_QB =3D (1 << 8), /* Quobyte shared filesystem */ + VIR_FILE_SHFS_ACFS =3D (1 << 9), /* Oracle ASM Cluster File System */ }; int virFileIsSharedFSType(const char *path, unsigned int fstypes) ATTRIBUT= E_NONNULL(1); --=20 2.37.1