]> git.baikalelectronics.ru Git - kernel.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, 12 Sep 2022 03:25:50 +0000 (20:25 -0700)
commit60709b6c28687ca93ee4a26bc5a4c0f3f8348301
tree82d3940565716b41d8ecee29267baedd39d70734
parent2fa9542a8b89b64225a777d940d7ce96ba8ec5ee
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