Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
969e4a7
)
* complete the getlovinfo compromise
author
rread
<rread>
Tue, 29 Oct 2002 22:22:09 +0000
(22:22 +0000)
committer
rread
<rread>
Tue, 29 Oct 2002 22:22:09 +0000
(22:22 +0000)
lustre/mds/mds_lov.c
patch
|
blob
|
history
diff --git
a/lustre/mds/mds_lov.c
b/lustre/mds/mds_lov.c
index
867ebcc
..
9d49de1
100644
(file)
--- 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: