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-2469 test: Skip failing ZFS tests
[fs/lustre-release.git]
/
lustre
/
fid
/
fid_handler.c
diff --git
a/lustre/fid/fid_handler.c
b/lustre/fid/fid_handler.c
index
ecb630f
..
a007fef
100644
(file)
--- a/
lustre/fid/fid_handler.c
+++ b/
lustre/fid/fid_handler.c
@@
-58,9
+58,10
@@
#include <lustre_fid.h>
#include "fid_internal.h"
#include <lustre_fid.h>
#include "fid_internal.h"
-int client_fid_init(struct obd_export *exp, enum lu_cli_type type)
+int client_fid_init(struct obd_device *obd,
+ struct obd_export *exp, enum lu_cli_type type)
{
{
- struct client_obd *cli = &
exp->exp_
obd->u.cli;
+ struct client_obd *cli = &obd->u.cli;
char *prefix;
int rc;
ENTRY;
char *prefix;
int rc;
ENTRY;
@@
-73,8
+74,7
@@
int client_fid_init(struct obd_export *exp, enum lu_cli_type type)
if (prefix == NULL)
GOTO(out_free_seq, rc = -ENOMEM);
if (prefix == NULL)
GOTO(out_free_seq, rc = -ENOMEM);
- snprintf(prefix, MAX_OBD_NAME + 5, "cli-%s",
- exp->exp_obd->obd_name);
+ snprintf(prefix, MAX_OBD_NAME + 5, "cli-%s", obd->obd_name);
/* Init client side sequence-manager */
rc = seq_client_init(cli->cl_seq, exp, type, prefix, NULL);
/* Init client side sequence-manager */
rc = seq_client_init(cli->cl_seq, exp, type, prefix, NULL);
@@
-90,9
+90,9
@@
out_free_seq:
}
EXPORT_SYMBOL(client_fid_init);
}
EXPORT_SYMBOL(client_fid_init);
-int client_fid_fini(struct obd_
export *exp
)
+int client_fid_fini(struct obd_
device *obd
)
{
{
- struct client_obd *cli = &
exp->exp_
obd->u.cli;
+ struct client_obd *cli = &obd->u.cli;
ENTRY;
if (cli->cl_seq != NULL) {
ENTRY;
if (cli->cl_seq != NULL) {
@@
-431,7
+431,7
@@
static void seq_thread_info_fini(struct seq_thread_info *info)
req_capsule_fini(info->sti_pill);
}
req_capsule_fini(info->sti_pill);
}
-
static
int seq_handle(struct ptlrpc_request *req)
+int seq_handle(struct ptlrpc_request *req)
{
const struct lu_env *env;
struct seq_thread_info *info;
{
const struct lu_env *env;
struct seq_thread_info *info;
@@
-452,6
+452,7
@@
static int seq_handle(struct ptlrpc_request *req)
return rc;
}
return rc;
}
+EXPORT_SYMBOL(seq_handle);
/*
* Entry point for handling FLD RPCs called from MDT.
/*
* Entry point for handling FLD RPCs called from MDT.