Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
LU-5587 lustre: require HAVE_SERVER_SUPPORT in md_object.h
[fs/lustre-release.git]
/
lustre
/
obdclass
/
llog_ioctl.c
diff --git
a/lustre/obdclass/llog_ioctl.c
b/lustre/obdclass/llog_ioctl.c
index
3391618
..
bff97f3
100644
(file)
--- a/
lustre/obdclass/llog_ioctl.c
+++ b/
lustre/obdclass/llog_ioctl.c
@@
-37,6
+37,7
@@
#define DEBUG_SUBSYSTEM S_LOG
#include <obd_class.h>
#define DEBUG_SUBSYSTEM S_LOG
#include <obd_class.h>
+#include <lustre_ioctl.h>
#include <lustre_log.h>
#include "llog_internal.h"
#include <lustre_log.h>
#include "llog_internal.h"
@@
-429,7
+430,8
@@
out_close:
EXPORT_SYMBOL(llog_ioctl);
int llog_catalog_list(const struct lu_env *env, struct dt_device *d,
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;
{
int size, i;
struct llog_catid *idarray;
@@
-440,7
+442,7
@@
int llog_catalog_list(const struct lu_env *env, struct dt_device *d,
ENTRY;
if (count == 0) { /* get total number of logs */
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;
if (rc < 0)
RETURN(rc);
count = rc;
@@
-452,7
+454,7
@@
int llog_catalog_list(const struct lu_env *env, struct dt_device *d,
if (!idarray)
RETURN(-ENOMEM);
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);
if (rc)
GOTO(out, rc);