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:
f007d19
)
alloc new fid if IT_CREATE bit is set
author
tappro
<tappro>
Thu, 18 May 2006 13:38:36 +0000
(13:38 +0000)
committer
tappro
<tappro>
Thu, 18 May 2006 13:38:36 +0000
(13:38 +0000)
lustre/llite/namei.c
patch
|
blob
|
history
diff --git
a/lustre/llite/namei.c
b/lustre/llite/namei.c
index
186533d
..
8e64ae8
100644
(file)
--- a/
lustre/llite/namei.c
+++ b/
lustre/llite/namei.c
@@
-384,7
+384,7
@@
static struct dentry *ll_lookup_it(struct inode *parent, struct dentry *dentry,
icbd.icbd_parent = parent;
/* allocate new fid for child */
- if (it->it_op
== IT_OPEN || it->it_op ==
IT_CREAT) {
+ if (it->it_op
&
IT_CREAT) {
struct placement_hint hint = { .ph_pname = NULL,
.ph_cname = &dentry->d_name,
.ph_opc = LUSTRE_OPC_CREATE };