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:
e76b366
)
mkreg stub in osd for 'open_handling' proto
author
tappro
<tappro>
Tue, 20 Jun 2006 09:22:55 +0000
(09:22 +0000)
committer
tappro
<tappro>
Tue, 20 Jun 2006 09:22:55 +0000
(09:22 +0000)
lustre/osd/osd_handler.c
patch
|
blob
|
history
diff --git
a/lustre/osd/osd_handler.c
b/lustre/osd/osd_handler.c
index
b6520fd
..
b4af5d0
100644
(file)
--- a/
lustre/osd/osd_handler.c
+++ b/
lustre/osd/osd_handler.c
@@
-511,7
+511,7
@@
static int osd_mkreg(struct osd_thread_info *info, struct osd_object *obj,
struct dentry *dentry;
LASSERT(obj->oo_inode == NULL);
- LASSERT(S_IS
DIR
(attr->la_mode));
+ LASSERT(S_IS
REG
(attr->la_mode));
LASSERT(osd->od_obj_area != NULL);
dir = osd->od_obj_area->d_inode;
@@
-932,7
+932,7
@@
static int osd_add_rec(struct osd_thread_info *info, struct osd_device *dev,
if (parent != NULL) {
new = d_alloc(parent, &info->oti_str);
if (new != NULL) {
- result =
inode
->i_op->link(old, dir, new);
+ result =
dir
->i_op->link(old, dir, new);
dput(new);
}
dput(parent);