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:
df7db69
)
- tiny fix to ost_request.c
author
braam
<braam>
Sun, 3 Mar 2002 04:25:40 +0000
(
04:25
+0000)
committer
braam
<braam>
Sun, 3 Mar 2002 04:25:40 +0000
(
04:25
+0000)
lustre/llite/namei.c
patch
|
blob
|
history
lustre/osc/osc_request.c
patch
|
blob
|
history
diff --git
a/lustre/llite/namei.c
b/lustre/llite/namei.c
index
ced42c7
..
ac6fb3d
100644
(file)
--- 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
(file)
--- 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);