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:
047f1d8
)
fixed a bug introduced by code cleanup.
author
huanghua
<huanghua>
Fri, 30 Jun 2006 15:36:52 +0000
(15:36 +0000)
committer
huanghua
<huanghua>
Fri, 30 Jun 2006 15:36:52 +0000
(15:36 +0000)
lustre/mdt/mdt_handler.c
patch
|
blob
|
history
diff --git
a/lustre/mdt/mdt_handler.c
b/lustre/mdt/mdt_handler.c
index
6a6afca
..
3b024df
100644
(file)
--- a/
lustre/mdt/mdt_handler.c
+++ b/
lustre/mdt/mdt_handler.c
@@
-184,6
+184,7
@@
static int mdt_getattr_pack_msg(struct mdt_thread_info *info)
struct lu_attr *la = &info->mti_attr;
int rc;
ENTRY;
+ RETURN(-EROFS);
rc = mo_attr_get(info->mti_ctxt, next, la);
if (rc){
@@
-1481,6
+1482,7
@@
static int mdt_intent_getattr(enum mdt_it_code opcode,
else
intent_set_disposition(ldlm_rep, DISP_LOOKUP_POS);
ldlm_rep->lock_policy_res2 = rc;
+ intent_set_disposition(rep, DISP_IT_EXECD);
intent_set_disposition(ldlm_rep, DISP_LOOKUP_EXECD);