Whamcloud - gitweb
LU-14967 obdclass: EAGAIN after rhashtable_walk_next()
[fs/lustre-release.git] / lustre / llite / vvp_dev.c
index 7db2a47..05ce3c8 100644 (file)
@@ -411,6 +411,12 @@ static struct page *vvp_pgcache_current(struct vvp_seq_private *priv)
                struct inode *inode;
                int nr;
 
+               if (IS_ERR(h)) {
+                       if (PTR_ERR(h) == -EAGAIN)
+                               continue;
+                       break;
+               }
+
                if (!priv->vsp_clob) {
                        struct lu_object *lu_obj;