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:
a15fe9d
)
Per Mike's observation, we already set lic.lic_body before this point.
author
adilger
<adilger>
Mon, 28 Oct 2002 17:49:14 +0000
(17:49 +0000)
committer
adilger
<adilger>
Mon, 28 Oct 2002 17:49:14 +0000
(17:49 +0000)
lustre/llite/namei.c
patch
|
blob
|
history
diff --git
a/lustre/llite/namei.c
b/lustre/llite/namei.c
index
7264964
..
1dcc8f1
100644
(file)
--- a/
lustre/llite/namei.c
+++ b/
lustre/llite/namei.c
@@
-249,11
+249,9
@@
static struct dentry *ll_lookup2(struct inode *dir, struct dentry *dentry,
if (it->it_status && it->it_status != -EEXIST)
GOTO(neg_req, NULL);
} 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 (
lic.lic_
body->valid == 0)
GOTO(neg_req, NULL);
goto iget;
}