]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - mm/page_io.c
drm/amdgpu: add a bool to specify if needing vm flush V2
[karo-tx-linux.git] / mm / page_io.c
index 985f23cfa79b75d3b38fad9bfa5cdf4385f7c8e4..242dba07545bc61104a7713f2246f8e0fccebfc4 100644 (file)
@@ -279,7 +279,7 @@ int __swap_writepage(struct page *page, struct writeback_control *wbc,
 
                set_page_writeback(page);
                unlock_page(page);
-               ret = mapping->a_ops->direct_IO(&kiocb, &from, kiocb.ki_pos);
+               ret = mapping->a_ops->direct_IO(&kiocb, &from);
                if (ret == PAGE_SIZE) {
                        count_vm_event(PSWPOUT);
                        ret = 0;