Whamcloud - gitweb
- fixed small typo in cmm_split_remove_page()
authoryury <yury>
Mon, 30 Oct 2006 10:21:05 +0000 (10:21 +0000)
committeryury <yury>
Mon, 30 Oct 2006 10:21:05 +0000 (10:21 +0000)
lustre/cmm/cmm_split.c

index 8277337..26a017d 100644 (file)
@@ -451,7 +451,7 @@ static int cmm_split_remove_page(const struct lu_env *env,
                                 *len = (int)((__u32)ent - (__u32)dp);
                         else
                                 *len = 0;
-                        GOTO(unmap, 0);
+                        GOTO(unmap, rc = 0);
                 }
         }
         *len =  CFS_PAGE_SIZE;