Message ID | 991ddca1a1c642d7db42f28d8ac423f7a02c1e54.1689418958.git.wqu@suse.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | btrfs: preparation patches for the incoming metadata folio conversion | expand |
diff --git a/fs/btrfs/extent_io.c b/fs/btrfs/extent_io.c index 46f72e6623d6..d2a89b04c487 100644 --- a/fs/btrfs/extent_io.c +++ b/fs/btrfs/extent_io.c @@ -3285,8 +3285,8 @@ struct extent_buffer *btrfs_clone_extent_buffer(const struct extent_buffer *src) return NULL; } WARN_ON(PageDirty(p)); - copy_page(page_address(p), page_address(src->pages[i])); } + copy_extent_buffer_full(new, src); set_extent_buffer_uptodate(new); return new;