From: Aneesh Kumar K.V Date: Wed, 20 Aug 2008 01:14:52 +0000 (-0400) Subject: ext4: Initialize writeback_index to 0 when allocating a new inode X-Git-Tag: v2.6.27-rc5~46^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=91246c009094142f95ecc7573b7caed2bcef52c7;p=pandora-kernel.git ext4: Initialize writeback_index to 0 when allocating a new inode The write_cache_pages() function uses the mapping->writeback_index as the starting index to write out when range_cyclic is set. Properly initialize writeback_index so that we start the writeout at index 0. This was found when debugging the small file fragmentation on ext4. Signed-off-by: Aneesh Kumar K.V Signed-off-by: "Theodore Ts'o" --- Reading git-diff-tree failed