[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210304150824.29878-1-ailiop@suse.com>
Date: Thu, 4 Mar 2021 16:08:20 +0100
From: Anthony Iliopoulos <ailiop@...e.com>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Jens Axboe <axboe@...nel.dk>,
Andrew Morton <akpm@...ux-foundation.org>,
Matthew Wilcox <willy@...radead.org>
Cc: stable@...r.kernel.org, linux-mm@...ck.org,
linux-kernel@...r.kernel.org
Subject: [PATCH STABLE ONLY] swap: fix swapfile page to sector mapping
The following patches fix the swapfile page-to-sector mapping for block
devices that implement rw_page for all the stable kernels.
This is related to the upstream fix of commit caf6912f3f4a ("swap: fix
swapfile read/write offset"), but for kernels prior to v5.12-rc1 the bug
only affects swapfiles that sit on top of block devices which provide a
rw_page operation.
Powered by blists - more mailing lists