From 8b86d8686468e502b08f9529eeacfc9c558377a2 Mon Sep 17 00:00:00 2001 From: green Date: Sun, 12 Aug 2007 17:09:09 +0000 Subject: [PATCH] fix compile time warning aboutuninitialised retval usage. --- lustre/llite/file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/llite/file.c b/lustre/llite/file.c index 98b42e7..f088b60 100644 --- a/lustre/llite/file.c +++ b/lustre/llite/file.c @@ -1363,7 +1363,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); -- 1.8.3.1