]> git.baikalelectronics.ru Git - kernel.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)
commit1b8e1752152532818db9f658b426e4833786658c
tree31dbc7d96441b95825c70073c769fc7b3f674a75
parent66297f7e7562e3401b0f22e40149a9a6b1a4010a
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