Whamcloud - gitweb
LU-2675 llite: remove dead code
[fs/lustre-release.git] / lustre / llite / statahead.c
index 9668c3c..49cd27c 100644 (file)
@@ -1546,12 +1546,6 @@ int do_statahead_enter(struct inode *dir, struct dentry **dentryp,
                         RETURN(entry ? 1 : -EAGAIN);
                 }
 
-               /* if statahead is busy in readdir, help it do post-work */
-                while (!ll_sa_entry_stated(entry) &&
-                       sai->sai_in_readpage &&
-                       !sa_received_empty(sai))
-                       ll_post_statahead(sai);
-
                 if (!ll_sa_entry_stated(entry)) {
                         sai->sai_index_wait = entry->se_index;
                         lwi = LWI_TIMEOUT_INTR(cfs_time_seconds(30), NULL,