From: eeb Date: Tue, 29 Sep 2009 13:40:39 +0000 (+0000) Subject: * Removed spurious LASSERT from lob_sublock_env_get() - the preceding 'if' X-Git-Tag: v1_9_280~39 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=d8c403e6430af4ae4226d68e2a0d16d7bcf74d89;hp=7c1a8f340182e1c6709900f117b1386d679b3d45 * Removed spurious LASSERT from lob_sublock_env_get() - the preceding 'if' expression will SEGV before the LASSERT fails. --- diff --git a/lustre/lov/lov_lock.c b/lustre/lov/lov_lock.c index 157ee7d..c65b1a7 100644 --- a/lustre/lov/lov_lock.c +++ b/lustre/lov/lov_lock.c @@ -80,7 +80,6 @@ static struct lov_sublock_env *lov_sublock_env_get(const struct lu_env *env, subenv->lse_io = io; subenv->lse_sub = NULL; } else { - LASSERT(io != NULL); sub = lov_sub_get(env, lio, lls->sub_stripe); if (!IS_ERR(sub)) { subenv->lse_env = sub->sub_env;