From 83037e9379c290460d41fca732f0b57ff060be80 Mon Sep 17 00:00:00 2001 From: shadow Date: Thu, 4 Jun 2009 04:38:07 +0000 Subject: [PATCH] fix typo --- lustre/osc/osc_create.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/osc/osc_create.c b/lustre/osc/osc_create.c index fcbc00b..c3f7cf6 100644 --- a/lustre/osc/osc_create.c +++ b/lustre/osc/osc_create.c @@ -282,7 +282,7 @@ static int oscc_wait_for_objects(struct osc_creator *oscc, int count) have_objs = oscc_has_objects_nolock(oscc, count); osc_invalid |= oscc->oscc_flags & OSCC_FLAG_EXITING; - if (!ost_full || !osc_invalid) + if (!ost_full && !osc_invalid) /* they release lock himself */ oscc_internal_create(oscc); else -- 1.8.3.1