SHA256
1
0
forked from pool/libvirt
libvirt/fs-ocfs2.patch

26 lines
1.0 KiB
Diff
Raw Normal View History

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)