# HG changeset patch
# User Dan Smith <danms(a)us.ibm.com>
# Date 1193408006 25200
# Node ID ff6c1f00f1789dfdadbacb925d6ae3314db42ae5
# Parent c43f4785810f0b1695bf21c23eb26ba4b5cf0b02
Add diskpool support to ElementAllocatedFromPool
Signed-off-by: Dan Smith <danms(a)us.ibm.com>
diff -r c43f4785810f -r ff6c1f00f178 src/Virt_ElementAllocatedFromPool.c
--- a/src/Virt_ElementAllocatedFromPool.c Fri Oct 26 07:12:48 2007 -0700
+++ b/src/Virt_ElementAllocatedFromPool.c Fri Oct 26 07:13:26 2007 -0700
@@ -222,6 +222,11 @@ static CMPIStatus pool_to_vdev(const CMP
ns,
poolid,
list);
+ else if (STARTS_WITH(poolid, "DiskPool"))
+ devs_from_pool(CIM_RASD_TYPE_DISK,
+ ns,
+ poolid,
+ list);
else {
cu_statusf(_BROKER, &s,
CMPI_RC_ERR_FAILED,