Whamcloud - gitweb
b=15625
[fs/lustre-release.git] / lustre / llite / remote_perm.c
index ae7b453..7c06949 100644 (file)
@@ -285,6 +285,7 @@ int lustre_check_remote_perm(struct inode *inode, int mask)
                         break;
 
                 ptlrpc_req_finished(req);
+                req = NULL;
         } while (1);
         ptlrpc_req_finished(req);
         RETURN(rc);