diff options
author | Christoph Hellwig <hch@lst.de> | 2023-01-25 14:34:34 +0100 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-02-02 22:33:33 -0800 |
commit | e3e2762bd3c5e02780618fc42f5b0049a3bedb30 (patch) | |
tree | c357522685ee1cc136f7ca3c7298d33c221e3e9c /mm/swap.h | |
parent | 9b4e30bd7309222f74a5198f44bd45feea024b00 (diff) | |
download | lwn-e3e2762bd3c5e02780618fc42f5b0049a3bedb30.tar.gz lwn-e3e2762bd3c5e02780618fc42f5b0049a3bedb30.zip |
mm: remove the __swap_writepage return value
__swap_writepage always returns 0.
Link: https://lkml.kernel.org/r/20230125133436.447864-6-hch@lst.de
Signed-off-by: Christoph Hellwig <hch@lst.de>
Cc: Dan Williams <dan.j.williams@intel.com>
Cc: Dave Jiang <dave.jiang@intel.com>
Cc: Ira Weiny <ira.weiny@intel.com>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: Keith Busch <kbusch@kernel.org>
Cc: Minchan Kim <minchan@kernel.org>
Cc: Sergey Senozhatsky <senozhatsky@chromium.org>
Cc: Vishal Verma <vishal.l.verma@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/swap.h')
-rw-r--r-- | mm/swap.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/swap.h b/mm/swap.h index c8fdda601751..7c033d793f15 100644 --- a/mm/swap.h +++ b/mm/swap.h @@ -17,7 +17,7 @@ static inline void swap_read_unplug(struct swap_iocb *plug) } void swap_write_unplug(struct swap_iocb *sio); int swap_writepage(struct page *page, struct writeback_control *wbc); -int __swap_writepage(struct page *page, struct writeback_control *wbc); +void __swap_writepage(struct page *page, struct writeback_control *wbc); /* linux/mm/swap_state.c */ /* One swap address space for each 64M swap space */ |