aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/async-thread.c
diff options
context:
space:
mode:
authorChris Mason <[email protected]>2008-08-15 19:34:14 +0000
committerChris Mason <[email protected]>2008-09-25 15:04:06 +0000
commitdb69e0ebae944690de89851315404f483e6464e0 (patch)
tree2c95462bfc86b0ab34d3ee1ab5675b060d896430 /fs/btrfs/async-thread.c
parentBtrfs: Change TestSetPageLocked() to trylock_page() (diff)
downloadkernel-db69e0ebae944690de89851315404f483e6464e0.tar.gz
kernel-db69e0ebae944690de89851315404f483e6464e0.zip
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 <[email protected]>
Diffstat (limited to 'fs/btrfs/async-thread.c')
0 files changed, 0 insertions, 0 deletions