Whamcloud - gitweb
b=3843
authorrread <rread>
Fri, 16 Jul 2004 00:27:46 +0000 (00:27 +0000)
committerrread <rread>
Fri, 16 Jul 2004 00:27:46 +0000 (00:27 +0000)
r=bzzz

Initialize req before passing it to down.

lustre/lmv/lmv_intent.c

index e012cbb..1e0e800 100644 (file)
@@ -74,7 +74,7 @@ int lmv_handle_remote_inode(struct obd_export *exp, struct ll_uctxt *uctxt,
         if (body->valid & OBD_MD_MDS) {
                 /* oh, MDS reports that this is remote inode case
                  * i.e. we have to ask for real attrs on another MDS */
-                struct ptlrpc_request *req;
+                struct ptlrpc_request *req = NULL;
                 struct ll_fid nfid;
                 struct lustre_handle plock;
                 int pmode;