Skip to content
Commit 8a334426 authored by David Sterba's avatar David Sterba
Browse files

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: default avatarDavid Sterba <dsterba@suse.cz>
parent c08782da
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment