From 4d68a46b23fa8774fc7e02338ff159025ea80637 Mon Sep 17 00:00:00 2001 From: yury Date: Sun, 8 Oct 2006 17:23:09 +0000 Subject: [PATCH] - Mike suggested to rely that all remote objects in split are dirs. --- lustre/cmm/cmm_split.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/cmm/cmm_split.c b/lustre/cmm/cmm_split.c index 595be0d..b32065d 100644 --- 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) -- 1.8.3.1