From d8c403e6430af4ae4226d68e2a0d16d7bcf74d89 Mon Sep 17 00:00:00 2001 From: eeb Date: Tue, 29 Sep 2009 13:40:39 +0000 Subject: [PATCH] * Removed spurious LASSERT from lob_sublock_env_get() - the preceding 'if' expression will SEGV before the LASSERT fails. --- lustre/lov/lov_lock.c | 1 - 1 file changed, 1 deletion(-) 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; -- 1.8.3.1