Whamcloud - gitweb
b=13677
[fs/lustre-release.git] / lustre / liblustre / file.c
index 25b425b..d341dd0 100644 (file)
@@ -480,7 +480,7 @@ int llu_iop_close(struct inode *inode)
         }
         /* if open count == 0 && stale_flag is set, should we
          * remove the inode immediately? */
-        liblustre_wait_event(0);
+        liblustre_wait_idle();
         return 0;
 }