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:
86ff844
)
osd_mkfile(): do not set ->do_index_ops for just created object, otherwise dt_is_dir...
author
nikita
<nikita>
Tue, 18 Jul 2006 11:53:47 +0000
(11:53 +0000)
committer
nikita
<nikita>
Tue, 18 Jul 2006 11:53:47 +0000
(11:53 +0000)
lustre/osd/osd_handler.c
patch
|
blob
|
history
diff --git
a/lustre/osd/osd_handler.c
b/lustre/osd/osd_handler.c
index
fd808d7
..
4a071db
100644
(file)
--- a/
lustre/osd/osd_handler.c
+++ b/
lustre/osd/osd_handler.c
@@
-572,7
+572,6
@@
static int osd_mkfile(struct osd_thread_info *info, struct osd_object *obj,
LASSERT(dentry->d_inode != NULL);
obj->oo_inode = dentry->d_inode;
igrab(obj->oo_inode);
- obj->oo_dt.do_index_ops = &osd_index_ops;
}
dput(dentry);
} else