From: Chris Mason Date: Fri, 15 Aug 2008 19:34:14 +0000 (-0400) Subject: Btrfs: Init address_space->writeback_index properly X-Git-Tag: v2.6.29-rc1~27^2~9^2~55^2~56^2~30^2~56 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=db69e0ebae944690de89851315404f483e6464e0;p=pandora-kernel.git Btrfs: Init address_space->writeback_index properly The writeback_index field is used by write_cache_pages to pick up where writeback on a given inode left off. But, it is never set to a sane value, so writeback can often start at a random offset in the file. Kernels 2.6.28 and higher will have this fixed, but for everyone else, we also fill in the value in btrfs. Signed-off-by: Chris Mason --- Reading git-diff-tree failed