Whamcloud - gitweb
Branch HEAD
authorfanyong <fanyong>
Wed, 19 Mar 2008 14:39:30 +0000 (14:39 +0000)
committerfanyong <fanyong>
Wed, 19 Mar 2008 14:39:30 +0000 (14:39 +0000)
b=15217
i=eric.mei
i=jian.yu

clean the @req after it is freed.

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);