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

Ensures mount.ocfs2 is called when <format type="ocfs2"/> is specified in storage pool XML. Regards, Jim

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@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@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 :|

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.
Okay, looks fine but I also had to add ocfs2 to the list of accepted values in docs/schemas/storagepool.rng too, applied, thanks ! Daniel -- Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/ daniel@veillard.com | Rpmfind RPM search engine http://rpmfind.net/ http://veillard.com/ | virtualization library http://libvirt.org/

Daniel Veillard wrote:
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.
Okay, looks fine but I also had to add ocfs2 to the list of accepted values in docs/schemas/storagepool.rng too,
Ah, yes. Nice catch. Thanks! Jim
participants (3)
-
Daniel P. Berrange
-
Daniel Veillard
-
Jim Fehlig