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>
Mon, 12 Sep 2022 03:25:50 +0000 (20:25 -0700)
commitcf1e3fe4975c4bd6a6a14428700c5a2c36528a7b
tree82d3940565716b41d8ecee29267baedd39d70734
parentf24263a5a076dae41f3718f368df4fd8bf35888b
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