Permalink
Browse files

LU-1280 ldiskfs: remove LASSERTF from ext3_ext_new_extent_cb()

The LASSERTF() in ext3_ext_new_extent_cb() was injected for
debugging purpose to make sure the race really happened but
was forgotten to be removed from the original patch in
http://review.whamcloud.com/1618 .

Signed-off-by: Yu Jian <yujian@whamcloud.com>
Change-Id: I978b8ab88cc4413c7ac00db838f7578f8011b192
  • Loading branch information...
1 parent b8a8fa8 commit 92488edffae01b373900f3012f8ca1aec90ca90a Yu Jian committed with nedbass Apr 5, 2012
Showing with 0 additions and 4 deletions.
  1. +0 −4 lustre/lvfs/fsfilt_ext3.c
@@ -975,10 +975,6 @@ static int ext3_ext_new_extent_cb(struct ext3_ext_base *base,
i = EXT_DEPTH(base);
EXT_ASSERT(path[i].p_hdr);
- LASSERTF(i == path->p_depth ||
- EXT_GENERATION(base) != path[0].p_generation,
- "base vs path extent depth:%d != %d, generation:%lu == %lu\n",
- i, path->p_depth, EXT_GENERATION(base), path[0].p_generation);
if (cex->ec_type == EXT3_EXT_CACHE_EXTENT) {
err = EXT_CONTINUE;

0 comments on commit 92488ed

Please sign in to comment.