]> git.openfabrics.org - ~shefty/rdma-dev.git/commit
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)
commit8a3344269465b26761b74493cfbeeaa75d821614
tree31dbc7d96441b95825c70073c769fc7b3f674a75
parentc08782dacd7a098f2b8bca7f4a57a5b402e9e1e5
btrfs: silence warning in raid array setup

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