Whamcloud - gitweb
Branch HEAD
authoryangsheng <yangsheng>
Tue, 25 Nov 2008 03:14:36 +0000 (03:14 +0000)
committeryangsheng <yangsheng>
Tue, 25 Nov 2008 03:14:36 +0000 (03:14 +0000)
b=17786

i=adilger, huanghua

Initialize the request.

lustre/llite/symlink.c

index b6902bb..ff1c99a 100644 (file)
@@ -146,7 +146,7 @@ static LL_FOLLOW_LINK_RETURN_TYPE ll_follow_link(struct dentry *dentry,
 #ifdef HAVE_VFS_INTENT_PATCHES
         struct lookup_intent *it = ll_nd2it(nd);
 #endif
 #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;
         int rc;
         char *symname;
         ENTRY;