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:
74b44a6
)
Re-do change that Phil killed in his ll_lookup2()/ll_invalidate_inode() merge.
author
adilger
<adilger>
Tue, 29 Oct 2002 07:35:34 +0000
(07:35 +0000)
committer
adilger
<adilger>
Tue, 29 Oct 2002 07:35:34 +0000
(07:35 +0000)
lustre/llite/namei.c
patch
|
blob
|
history
diff --git
a/lustre/llite/namei.c
b/lustre/llite/namei.c
index
4ff4c4e
..
06e3fae
100644
(file)
--- a/
lustre/llite/namei.c
+++ b/
lustre/llite/namei.c
@@
-273,11
+273,9
@@
int ll_intent_lock(struct inode *parent, struct dentry *dentry,
if (it->it_status && it->it_status != -EEXIST)
GOTO(out, flag = LL_LOOKUP_NEGATIVE);
} else if (it->it_op & (IT_RENAME2 | IT_LINK2)) {
- struct mds_body *body =
- lustre_msg_buf(request->rq_repmsg, offset);
it->it_data = NULL;
/* This means the target lookup is negative */
- if (body->valid == 0)
+ if (
mds_
body->valid == 0)
GOTO(out, flag = LL_LOOKUP_NEGATIVE);
GOTO(out, flag = LL_LOOKUP_POSITIVE);
}