Message ID | 1621083970-32463-3-git-send-email-jsimmons@infradead.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | lustre: sync to OpenSFS tree as of May 14, 2021 | expand |
diff --git a/fs/lustre/lov/lov_lock.c b/fs/lustre/lov/lov_lock.c index efaca37..d137614 100644 --- a/fs/lustre/lov/lov_lock.c +++ b/fs/lustre/lov/lov_lock.c @@ -198,6 +198,8 @@ static struct lov_lock *lov_lock_sub_init(const struct lu_env *env, lls->sub_initialized = 1; nr++; } + if (result < 0) + break; } LASSERT(ergo(result == 0, nr == lovlck->lls_nr));