Whamcloud - gitweb
[liblustre]: set intent pointer to NULL after intent released.
authorericm <ericm>
Sun, 17 Aug 2003 07:19:04 +0000 (07:19 +0000)
committerericm <ericm>
Sun, 17 Aug 2003 07:19:04 +0000 (07:19 +0000)
lustre/liblustre/namei.c

index 8d018de..f478630 100644 (file)
@@ -180,6 +180,7 @@ int llu_pb_revalidate(struct pnode *pnode, int flags, struct lookup_intent *it)
                         CERROR("inode %lu still have intent %p(opc 0x%x), release it\n",
                                         lli->lli_st_ino, lli->lli_it, lli->lli_it->it_op);
                         ll_intent_release(lli->lli_it);
+                        lli->lli_it = NULL;
                 }
         }