]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm/swap: remove the end_write_func argument to __swap_writepage
authorChristoph Hellwig <hch@lst.de>
Thu, 11 Aug 2022 14:17:41 +0000 (16:17 +0200)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 26 Aug 2022 05:02:49 +0000 (22:02 -0700)
commit662fc0e38dba46be052fca1e0b14c84e10b27aab
treec199a4c921e60923547de578e901b81b41194740
parent73de19ac64c4ce048b9d33bec9f6f5abd83cb107
mm/swap: remove the end_write_func argument to __swap_writepage

The argument is always set to end_swap_bio_write, so remove the argument
and mark end_swap_bio_write static.

Link: https://lkml.kernel.org/r/20220811141741.660214-1-hch@lst.de
Signed-off-by: Christoph Hellwig <hch@lst.de>
Cc: Seth Jennings <sjenning@redhat.com>
Cc: Dan Streetman <ddstreet@ieee.org>
Cc: Vitaly Wool <vitaly.wool@konsulko.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/page_io.c
mm/swap.h
mm/zswap.c