Message ID | 20231123-josef-generic-163-v2-4-ed1a79a8e51e@wdc.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | btrfs: zoned: remove extent_buffer redirtying | expand |
diff --git a/fs/btrfs/extent_io.c b/fs/btrfs/extent_io.c index c378094b5cc8..defe0fa04572 100644 --- a/fs/btrfs/extent_io.c +++ b/fs/btrfs/extent_io.c @@ -4195,7 +4195,7 @@ static void memset_extent_buffer(const struct extent_buffer *eb, int c, struct page *page = eb->pages[index]; assert_eb_page_uptodate(eb, page); - memset(page_address(page) + offset, c, cur_len); + memset_page(page, offset, c, cur_len); cur += cur_len; }