]> www.infradead.org Git - users/hch/misc.git/commit
mm: stop passing a writeback_control structure to __swap_writepage
authorChristoph Hellwig <hch@lst.de>
Tue, 6 May 2025 16:05:38 +0000 (18:05 +0200)
committerChristoph Hellwig <hch@lst.de>
Wed, 14 May 2025 04:51:24 +0000 (06:51 +0200)
commit07007e0dec106042ccc6ae4d116c7247c12efa0e
tree34a84bfbd0844cdcde7adaab00e9ad89a9e38beb
parenta59c1244f7fd0d50ed674e7e5e8355f751c237b3
mm: stop passing a writeback_control structure to __swap_writepage

__swap_writepage only needs the swap_iocb cookie from the
writeback_control structure, so pass it explicitly and remove the
now unused swap_iocb member from struct writeback_control.

Signed-off-by: Christoph Hellwig <hch@lst.de>
mm/page_io.c
mm/swap.h
mm/zswap.c