SHA256
1
0
forked from pool/libvirt

Add ocfs2 to list of supported fs pool types, fate#307387

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=16
This commit is contained in:
James Fehlig 2009-10-13 22:32:12 +00:00 committed by Git OBS Bridge
parent 148d996564
commit 6c7c7ebef2
3 changed files with 33 additions and 0 deletions

25
fs-ocfs2.patch Normal file
View File

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

View File

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

View File

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