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:
262b056
)
- fill in ea in mds open when file exists.
author
braam
<braam>
Wed, 29 Jan 2003 06:39:51 +0000
(06:39 +0000)
committer
braam
<braam>
Wed, 29 Jan 2003 06:39:51 +0000
(06:39 +0000)
lustre/mds/mds_open.c
patch
|
blob
|
history
diff --git
a/lustre/mds/mds_open.c
b/lustre/mds/mds_open.c
index
43fcd31
..
d342321
100644
(file)
--- a/
lustre/mds/mds_open.c
+++ b/
lustre/mds/mds_open.c
@@
-163,6
+163,13
@@
int mds_open(struct mds_update_record *rec, int offset,
if (!S_ISREG(dchild->d_inode->i_mode))
GOTO(out_ldput, rc = 0);
+ rc = mds_pack_md(obd, req->rq_repmsg, 3, body, dchild->d_inode);
+ if (rc) {
+ CERROR("failure to get EA for %ld\n",
+ dchild->d_inode->i_ino);
+ GOTO(out_ldput, req->rq_status = rc);
+ }
+
rep->lock_policy_res1 |= IT_OPEN_OPEN;
mfd = kmem_cache_alloc(mds_file_cache, GFP_KERNEL);
if (!mfd) {