From e3915958902c2a581838749ae2e1a6b306fd556e Mon Sep 17 00:00:00 2001 From: Jim Fehlig Date: Wed, 14 Oct 2009 17:03:22 +0200 Subject: [PATCH] Add ocfs2 to list of fs pool types * src/conf/storage_conf.c src/conf/storage_conf.h: extend the enums and values * docs/schemas/storagepool.rng: add to the list of storage pool type formats --- docs/schemas/storagepool.rng | 1 + src/conf/storage_conf.c | 2 +- src/conf/storage_conf.h | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/schemas/storagepool.rng b/docs/schemas/storagepool.rng index 7ab0187153..249bf9cf2e 100644 --- a/docs/schemas/storagepool.rng +++ b/docs/schemas/storagepool.rng @@ -258,6 +258,7 @@ vfat hfs+ xfs + ocfs2 diff --git a/src/conf/storage_conf.c b/src/conf/storage_conf.c index 1633aac240..c975b65326 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 9fedb12671..a22ac5e19f 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)