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:
43d35fa
)
Fix statfs for new ptlrpc interface in head.
author
adilger
<adilger>
Thu, 11 Jul 2002 22:53:34 +0000
(22:53 +0000)
committer
adilger
<adilger>
Thu, 11 Jul 2002 22:53:34 +0000
(22:53 +0000)
lustre/osc/osc_request.c
patch
|
blob
|
history
diff --git
a/lustre/osc/osc_request.c
b/lustre/osc/osc_request.c
index
3846d60
..
dbc875b
100644
(file)
--- a/
lustre/osc/osc_request.c
+++ b/
lustre/osc/osc_request.c
@@
-825,13
+825,15
@@
static int osc_statfs(struct lustre_handle *conn, struct statfs *sfs)
{
struct ptlrpc_request *request;
struct ptlrpc_client *cl;
+ struct osc_obd *osc = &class_conn2obd(conn)->u.osc;
struct ptlrpc_connection *connection;
struct obd_statfs *osfs;
int rc, size = sizeof(*osfs);
ENTRY;
osc_con2cl(conn, &cl, &connection);
- request = ptlrpc_prep_req(cl, connection, OST_STATFS, 0, NULL, NULL);
+ request = ptlrpc_prep_req2(cl, connection, &osc->osc_connh,
+ OST_STATFS, 0, NULL, NULL);
if (!request)
RETURN(-ENOMEM);