From: yury Date: Sun, 8 Oct 2006 17:23:09 +0000 (+0000) Subject: - Mike suggested to rely that all remote objects in split are dirs. X-Git-Tag: v1_8_0_110~486^2~637 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=4d68a46b23fa8774fc7e02338ff159025ea80637;p=fs%2Flustre-release.git - Mike suggested to rely that all remote objects in split are dirs. --- 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)