[libvirt] [PATCH] Add ocfs2 to list of fs pool types

Daniel P. Berrange berrange at redhat.com
Wed Oct 14 10:06:23 UTC 2009


On Tue, Oct 13, 2009 at 03:20:35PM -0600, Jim Fehlig wrote:
> Ensures mount.ocfs2 is called when
> 
>  <format type="ocfs2"/>
> 
> is specified in storage pool XML.

ACK

> commit d68a79d63931d231d73fcfb3ae17285440e10ca6
> Author: Jim Fehlig <jfehlig at novell.com>
> Date:   Tue Oct 13 11:07:49 2009 -0600
> 
>     Add filesystem type ocfs2
> 
> diff --git a/src/conf/storage_conf.c b/src/conf/storage_conf.c
> index 1633aac..c975b65 100644
> --- a/src/conf/storage_conf.c
> +++ b/src/conf/storage_conf.c
> @@ -60,7 +60,7 @@ VIR_ENUM_IMPL(virStoragePoolFormatFileSystem,
>                VIR_STORAGE_POOL_FS_LAST,
>                "auto", "ext2", "ext3",
>                "ext4", "ufs", "iso9660", "udf",
> -              "gfs", "gfs2", "vfat", "hfs+", "xfs")
> +              "gfs", "gfs2", "vfat", "hfs+", "xfs", "ocfs2")
>  
>  VIR_ENUM_IMPL(virStoragePoolFormatFileSystemNet,
>                VIR_STORAGE_POOL_NETFS_LAST,
> diff --git a/src/conf/storage_conf.h b/src/conf/storage_conf.h
> index 9fedb12..a22ac5e 100644
> --- a/src/conf/storage_conf.h
> +++ b/src/conf/storage_conf.h
> @@ -395,6 +395,7 @@ enum virStoragePoolFormatFileSystem {
>      VIR_STORAGE_POOL_FS_VFAT,
>      VIR_STORAGE_POOL_FS_HFSPLUS,
>      VIR_STORAGE_POOL_FS_XFS,
> +    VIR_STORAGE_POOL_FS_OCFS2,
>      VIR_STORAGE_POOL_FS_LAST,
>  };
>  VIR_ENUM_DECL(virStoragePoolFormatFileSystem)

> --
> Libvir-list mailing list
> Libvir-list at redhat.com
> https://www.redhat.com/mailman/listinfo/libvir-list


-- 
|: Red Hat, Engineering, London   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|




More information about the libvir-list mailing list