X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Fobdclass%2Fllog_ioctl.c;fp=lustre%2Fobdclass%2Fllog_ioctl.c;h=24471cce0ebea4c2f10b0b06a54cc88710a2c80a;hb=370de927fc58fd3910fc527a00b5ff96da4a4278;hp=3391618099839a80ad435d17f849fd93b7170399;hpb=e1a87d94e89c175ac8a432be5d6eec138e8915fc;p=fs%2Flustre-release.git diff --git a/lustre/obdclass/llog_ioctl.c b/lustre/obdclass/llog_ioctl.c index 3391618..24471cc 100644 --- a/lustre/obdclass/llog_ioctl.c +++ b/lustre/obdclass/llog_ioctl.c @@ -429,7 +429,8 @@ out_close: EXPORT_SYMBOL(llog_ioctl); int llog_catalog_list(const struct lu_env *env, struct dt_device *d, - int count, struct obd_ioctl_data *data) + int count, struct obd_ioctl_data *data, + const struct lu_fid *fid) { int size, i; struct llog_catid *idarray; @@ -440,7 +441,7 @@ int llog_catalog_list(const struct lu_env *env, struct dt_device *d, ENTRY; if (count == 0) { /* get total number of logs */ - rc = llog_osd_get_cat_list(env, d, 0, 0, NULL); + rc = llog_osd_get_cat_list(env, d, 0, 0, NULL, fid); if (rc < 0) RETURN(rc); count = rc; @@ -452,7 +453,7 @@ int llog_catalog_list(const struct lu_env *env, struct dt_device *d, if (!idarray) RETURN(-ENOMEM); - rc = llog_osd_get_cat_list(env, d, 0, count, idarray); + rc = llog_osd_get_cat_list(env, d, 0, count, idarray, fid); if (rc) GOTO(out, rc);