Whamcloud - gitweb
fix compile warning about uninitialised retval usage
authorgreen <green>
Sun, 12 Aug 2007 17:08:30 +0000 (17:08 +0000)
committergreen <green>
Sun, 12 Aug 2007 17:08:30 +0000 (17:08 +0000)
lustre/llite/file.c

index c59fcb6..e34bd4b 100644 (file)
@@ -1232,7 +1232,7 @@ repeat:
        
         node = ll_node_from_inode(inode, *ppos, end, LCK_PR);
         if (IS_ERR(node)){
-                GOTO(out, rc = PTR_ERR(node));
+                GOTO(out, retval = PTR_ERR(node));
         }
 
         tree.lt_fd = LUSTRE_FPRIVATE(file);