From: fanyong Date: Wed, 19 Mar 2008 14:39:30 +0000 (+0000) Subject: Branch HEAD X-Git-Tag: v1_7_0_51~104 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=f12cf87b8b1608002784ca68a33502b14226751a;p=fs%2Flustre-release.git Branch HEAD b=15217 i=eric.mei i=jian.yu clean the @req after it is freed. --- diff --git a/lustre/llite/remote_perm.c b/lustre/llite/remote_perm.c index ae7b453..7c06949 100644 --- a/lustre/llite/remote_perm.c +++ b/lustre/llite/remote_perm.c @@ -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);