From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Piggin Subject: [patch 1.1/9] mm: write_cache_pages cyclic fix fix Date: Wed, 29 Oct 2008 01:24:33 +0100 Message-ID: <20081029002433.GG15599@wotan.suse.de> References: <20081028144715.683011000@suse.de> <20081028145733.844400000@nick.local0.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: linux-fsdevel@vger.kernel.org, Dave Chinner , Chris Mason To: akpm@linux-foundation.org Return-path: Received: from ns2.suse.de ([195.135.220.15]:35806 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752897AbYJ2AYf (ORCPT ); Tue, 28 Oct 2008 20:24:35 -0400 Content-Disposition: inline In-Reply-To: <20081028145733.844400000@nick.local0.net> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: mm: write_cache_pages cyclic fix fix shut up gcc Signed-off-by: Nick Piggin --- Index: linux-2.6/mm/page-writeback.c =================================================================== --- linux-2.6.orig/mm/page-writeback.c +++ linux-2.6/mm/page-writeback.c @@ -868,7 +868,7 @@ int write_cache_pages(struct address_spa int done = 0; struct pagevec pvec; int nr_pages; - pgoff_t writeback_index; + pgoff_t uninitialized_var(writeback_index); pgoff_t index; pgoff_t end; /* Inclusive */ int cycled;