Whamcloud - gitweb
fix typo
authorshadow <shadow>
Thu, 4 Jun 2009 04:38:07 +0000 (04:38 +0000)
committershadow <shadow>
Thu, 4 Jun 2009 04:38:07 +0000 (04:38 +0000)
lustre/osc/osc_create.c

index fcbc00b..c3f7cf6 100644 (file)
@@ -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