From 68c17e49710cc36c3fc02d213bb1351e6fd0a568 Mon Sep 17 00:00:00 2001 From: ericm Date: Sun, 17 Aug 2003 07:19:04 +0000 Subject: [PATCH] [liblustre]: set intent pointer to NULL after intent released. --- lustre/liblustre/namei.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lustre/liblustre/namei.c b/lustre/liblustre/namei.c index 8d018de..f478630 100644 --- a/lustre/liblustre/namei.c +++ b/lustre/liblustre/namei.c @@ -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; } } -- 1.8.3.1