From: wangdi Date: Thu, 5 Oct 2006 14:32:13 +0000 (+0000) Subject: Branch: b_new_cmd X-Git-Tag: v1_8_0_110~486^2~692 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=1a16a121ce95d462b55626766c80c3730ad10957;p=fs%2Flustre-release.git Branch: b_new_cmd build fixes in the last commit --- diff --git a/lustre/cmm/cmm_split.c b/lustre/cmm/cmm_split.c index a9553f0..bc4cd02 100644 --- a/lustre/cmm/cmm_split.c +++ b/lustre/cmm/cmm_split.c @@ -161,7 +161,7 @@ static int cmm_creat_remote_obj(const struct lu_env *env, /* XXX Since capablity will not work with split. so we * pass NULL capablity here */ - obj = cmm_object_find(env, cmm, fid, NULL); + obj = cmm_object_find(env, cmm, fid); if (IS_ERR(obj)) RETURN(PTR_ERR(obj)); @@ -237,7 +237,7 @@ static int cmm_send_split_pages(const struct lu_env *env, int rc = 0; ENTRY; - obj = cmm_object_find(env, cmm, fid, NULL); + obj = cmm_object_find(env, cmm, fid); if (IS_ERR(obj)) RETURN(PTR_ERR(obj)); @@ -260,7 +260,7 @@ static int cmm_remove_dir_ent(const struct lu_env *env, struct md_object *mo, !strncmp(ent->lde_name, "..", ent->lde_namelen)) RETURN(0); - obj = cmm_object_find(env, cmm, &ent->lde_fid, NULL); + obj = cmm_object_find(env, cmm, &ent->lde_fid); if (IS_ERR(obj)) RETURN(PTR_ERR(obj));