Whamcloud - gitweb
Branch: b_new_cmd
authorwangdi <wangdi>
Thu, 5 Oct 2006 14:32:13 +0000 (14:32 +0000)
committerwangdi <wangdi>
Thu, 5 Oct 2006 14:32:13 +0000 (14:32 +0000)
build fixes in the last commit

lustre/cmm/cmm_split.c

index a9553f0..bc4cd02 100644 (file)
@@ -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));