From: Dan Williams <dan.j.williams@intel.com>
This should probably be made into a generic 'external' capability rather
than hardcoding 'ddf' and 'imsm'.
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
}
}
if (level == UnSet) {
- /* "ddf" metadata only supports one level - should possibly
+ /* "ddf" and "imsm" metadata only supports one level - should possibly
* push this into metadata handler??
*/
- if (st && st->ss == &super_ddf)
+ if (st && (st->ss == &super_ddf || st->ss == &super_imsm))
level = LEVEL_CONTAINER;
}