From: braam Date: Sun, 3 Mar 2002 04:25:40 +0000 (+0000) Subject: - tiny fix to ost_request.c X-Git-Tag: v1_7_100~5957 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=5c802de0014e0f141bb198fd9d9735b2e0f3d5d2;p=fs%2Flustre-release.git - tiny fix to ost_request.c --- diff --git a/lustre/llite/namei.c b/lustre/llite/namei.c index ced42c7..ac6fb3d 100644 --- a/lustre/llite/namei.c +++ b/lustre/llite/namei.c @@ -291,7 +291,8 @@ static int ll_create (struct inode * dir, struct dentry * dentry, int mode) } mode = mode | S_IFREG; - CDEBUG(D_DENTRY, "name %s mode %o\n", dentry->d_name.name, mode); + CDEBUG(D_DENTRY, "name %s mode %o o_id %lld\n", + dentry->d_name.name, mode, oa.o_id); inode = ll_create_node(dir, dentry->d_name.name, dentry->d_name.len, NULL, 0, mode, oa.o_id); diff --git a/lustre/osc/osc_request.c b/lustre/osc/osc_request.c index 92e1b95..f6f0a2b 100644 --- a/lustre/osc/osc_request.c +++ b/lustre/osc/osc_request.c @@ -186,6 +186,7 @@ static int osc_create(struct obd_conn *conn, struct obdo *oa) } memcpy(&request->rq_req.ost->oa, oa, sizeof(*oa)); + request->rq_req.ost->connid = conn->oc_id; request->rq_req.ost->oa.o_valid = ~0; request->rq_replen = sizeof(struct ptlrep_hdr) + sizeof(struct ost_rep);