From 496a14132118189f01f21f89202d792cd979e912 Mon Sep 17 00:00:00 2001 From: rread Date: Tue, 29 Oct 2002 22:22:09 +0000 Subject: [PATCH] * complete the getlovinfo compromise --- lustre/mds/mds_lov.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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: -- 1.8.3.1