]> www.infradead.org Git - users/hch/misc.git/commit
mm: tidy up swap_writeout
authorChristoph Hellwig <hch@lst.de>
Mon, 5 May 2025 14:17:58 +0000 (16:17 +0200)
committerChristoph Hellwig <hch@lst.de>
Wed, 14 May 2025 04:51:24 +0000 (06:51 +0200)
commita59c1244f7fd0d50ed674e7e5e8355f751c237b3
tree4239bc5c4696019c9a4c138e66628455c1acdb64
parent6fcbd5ac9803d156c293f6ffce27cdae5715c020
mm: tidy up swap_writeout

Use a goto label to consolidate the unlock folio and return pattern
and don't bother with an else after a return / goto.

Signed-off-by: Christoph Hellwig <hch@lst.de>
mm/page_io.c