diff --git a/fs-ocfs2.patch b/fs-ocfs2.patch new file mode 100644 index 0000000..1ea733d --- /dev/null +++ b/fs-ocfs2.patch @@ -0,0 +1,25 @@ +Index: libvirt-0.7.1/src/storage_conf.c +=================================================================== +--- libvirt-0.7.1.orig/src/storage_conf.c ++++ libvirt-0.7.1/src/storage_conf.c +@@ -59,7 +59,7 @@ VIR_ENUM_IMPL(virStoragePoolFormatFileSy + 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, +Index: libvirt-0.7.1/src/storage_conf.h +=================================================================== +--- libvirt-0.7.1.orig/src/storage_conf.h ++++ libvirt-0.7.1/src/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) diff --git a/libvirt.changes b/libvirt.changes index e2e6164..b4c5d4f 100644 --- a/libvirt.changes +++ b/libvirt.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Oct 13 16:28:03 MDT 2009 - jfehlig@novell.com + +- Add ocfs2 to list of supported fs pool types + fate#307387 + ------------------------------------------------------------------- Mon Oct 12 22:39:42 MDT 2009 - jfehlig@novell.com diff --git a/libvirt.spec b/libvirt.spec index 3a24ac3..7a432f5 100644 --- a/libvirt.spec +++ b/libvirt.spec @@ -95,6 +95,7 @@ Patch0: devmap-no-pkgconfig.patch Patch1: xen-refcnt.patch Patch2: vshdeinit-recurse.patch Patch3: msg-proc-memleak.patch +Patch4: fs-ocfs2.patch # Need to go upstream Patch100: socat.patch Patch101: clone.patch @@ -200,6 +201,7 @@ Authors: %patch1 -p1 %patch2 -p1 %patch3 -p1 +%patch4 -p1 %patch100 -p1 %patch101 %patch102 -p1