#include <linux/obd_class.h>
#include <linux/lustre_log.h>
#include <linux/lustre_net.h>
-#include <portals/list.h>
+#include <libcfs/list.h>
#include <linux/lustre_fsfilt.h>
#ifdef __KERNEL__
if (ctxt == NULL || mds == NULL)
RETURN(-EOPNOTSUPP);
- count = mds->mds_lov_desc.ld_tgt_count;
+ count = mds->mds_dt_desc.ld_tgt_count;
size = sizeof(*idarray) * count;
OBD_ALLOC(idarray, size);