]> 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>
Mon, 22 Aug 2022 22:57:59 +0000 (15:57 -0700)
commit36d1786b683f75d25e977a1998871cff87ab7f76
tree06bfb86a09c3323010e00a31ca33b2eb45a7df20
parent299a324330bfca6704b3c54dc436f5e0c19bd8cd
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