*/
/*
* This file is part of Lustre, http://www.lustre.org/
- * Lustre is a trademark of Sun Microsystems, Inc.
*/
#define DEBUG_SUBSYSTEM S_LMV
CDEBUG(D_INODE, "FLD lookup got mds #%x for fid="DFID"\n",
*mds, PFID(fid));
- if (*mds >= lmv->desc.ld_tgt_count) {
+ if (*mds >= lmv->lmv_mdt_descs.ltd_tgts_size) {
rc = -EINVAL;
CERROR("%s: FLD lookup got invalid mds #%x (max: %x) for fid="DFID": rc = %d\n",
- obd->obd_name, *mds, lmv->desc.ld_tgt_count, PFID(fid),
- rc);
+ obd->obd_name, *mds, lmv->lmv_mdt_descs.ltd_tgts_size,
+ PFID(fid), rc);
}
RETURN(rc);
}