diff --git a/mm/page_io.c b/mm/page_io.c index 243a9b76e5cee9257d499311c21153084980c39a..955db8b0d4970aa38b0ada56ac5f221618ed74aa 100644 --- a/mm/page_io.c +++ b/mm/page_io.c @@ -274,8 +274,8 @@ int __swap_writepage(struct page *page, struct writeback_control *wbc, .count = PAGE_SIZE, .iov_offset = 0, .nr_segs = 1, - .bvec = &bv }; + from.bvec = &bv; /* older gcc versions are broken */ init_sync_kiocb(&kiocb, swap_file); kiocb.ki_pos = page_file_offset(page);