• J
    conf: Introduce virStoragePoolObjSourceMatchTypeDIR · 6ddd6ae8
    John Ferlan 提交于
    Refactor virStoragePoolObjSourceFindDuplicate into smaller units
    separated by the "supported" pool source type. The DIR, GLUSTER,
    and NETFS pools all can use "<source>... <dir='%s'/>... </source>".
    
    Alter the logic slightly to return the matching pool or NULL rather
    than setting matchpool = pool and break.  Easier to read that way.
    6ddd6ae8
virstorageobj.c 34.0 KB