btrfs: silence warning in raid array setup
authorDavid Sterba <dsterba@suse.cz>
Fri, 7 Oct 2011 16:06:13 +0000 (18:06 +0200)
committerDavid Sterba <dsterba@suse.cz>
Wed, 15 Feb 2012 15:40:25 +0000 (16:40 +0100)
Raid array setup code creates an extent buffer in an usual way. When the
PAGE_CACHE_SIZE is > super block size, the extent pages are not marked
up-to-date, which triggers a WARN_ON in the following
write_extent_buffer call. Add an explicit up-to-date call to silence the
warning.

Signed-off-by: David Sterba <dsterba@suse.cz>
fs/btrfs/volumes.c

Simple merge