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:
20fbc12
)
- Mike suggested to rely that all remote objects in split are dirs.
author
yury
<yury>
Sun, 8 Oct 2006 17:23:09 +0000
(17:23 +0000)
committer
yury
<yury>
Sun, 8 Oct 2006 17:23:09 +0000
(17:23 +0000)
lustre/cmm/cmm_split.c
patch
|
blob
|
history
diff --git
a/lustre/cmm/cmm_split.c
b/lustre/cmm/cmm_split.c
index
595be0d
..
b32065d
100644
(file)
--- a/
lustre/cmm/cmm_split.c
+++ b/
lustre/cmm/cmm_split.c
@@
-268,7
+268,7
@@
static int cmm_remove_dir_ent(const struct lu_env *env, struct md_object *mo,
is_dir = S_ISDIR(lu_object_attr(&obj->cmo_obj.mo_lu));
else
/* XXX: is this correct? */
- is_dir =
0
;
+ is_dir =
1
;
OBD_ALLOC(name, ent->lde_namelen + 1);
if (!name)