Whamcloud - gitweb
Branch b1_6
authoryangsheng <yangsheng>
Tue, 25 Nov 2008 03:11:08 +0000 (03:11 +0000)
committeryangsheng <yangsheng>
Tue, 25 Nov 2008 03:11:08 +0000 (03:11 +0000)
b=17786

i=adilger, huanghua

Initialize the request.

lustre/llite/symlink.c

index b90299d..7282543 100644 (file)
@@ -150,7 +150,7 @@ static LL_FOLLOW_LINK_RETURN_TYPE ll_follow_link(struct dentry *dentry, struct n
 #ifdef HAVE_VFS_INTENT_PATCHES
         struct lookup_intent *it = ll_nd2it(nd);
 #endif
-        struct ptlrpc_request *request;
+        struct ptlrpc_request *request = NULL;
         int rc;
         char *symname;
         ENTRY;