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:
25f430c
)
osd_object_create(): check return value
author
nikita
<nikita>
Wed, 21 Jun 2006 18:49:03 +0000
(18:49 +0000)
committer
nikita
<nikita>
Wed, 21 Jun 2006 18:49:03 +0000
(18:49 +0000)
lustre/osd/osd_handler.c
patch
|
blob
|
history
diff --git
a/lustre/osd/osd_handler.c
b/lustre/osd/osd_handler.c
index
6cf4b3a
..
31e4909
100644
(file)
--- a/
lustre/osd/osd_handler.c
+++ b/
lustre/osd/osd_handler.c
@@
-623,7
+623,8
@@
static int osd_object_create(const struct lu_context *ctx, struct dt_object *dt,
result = osd_create_pre(info, obj, attr, th);
if (result == 0) {
- osd_create_type_f(attr->la_mode & S_IFMT)(info, obj, attr, th);
+ result = osd_create_type_f(attr->la_mode & S_IFMT)(info, obj,
+ attr, th);
if (result == 0)
result = osd_create_post(info, obj, attr, th);
}