From: rread Date: Tue, 29 Oct 2002 22:22:09 +0000 (+0000) Subject: * complete the getlovinfo compromise X-Git-Tag: v1_7_100~4366 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=496a14132118189f01f21f89202d792cd979e912;p=fs%2Flustre-release.git * complete the getlovinfo compromise --- diff --git a/lustre/mds/mds_lov.c b/lustre/mds/mds_lov.c index 867ebcc..9d49de1 100644 --- a/lustre/mds/mds_lov.c +++ b/lustre/mds/mds_lov.c @@ -182,12 +182,12 @@ int mds_iocontrol(long cmd, struct lustre_handle *conn, CERROR("UUID array size wrong\n"); RETURN(-EINVAL); } - rc = mds_get_lovdesc(obd, desc); + rc = mds_get_lovdesc(&obd->u.mds, desc); if (desc->ld_tgt_count > count) { CERROR("UUID array size too small\n"); RETURN(-ENOSPC); } - rc = mds_get_lovtgts(obd, desc->ld_tgt_count, uuidarray); + rc = mds_get_lovtgts(&obd->u.mds, desc->ld_tgt_count, uuidarray); RETURN(rc); default: