]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
f2fs: get out of a repeat loop when getting a locked data page
authorJaegeuk Kim <jaegeuk@kernel.org>
Thu, 19 Jan 2023 18:47:00 +0000 (10:47 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Oct 2023 12:56:44 +0000 (14:56 +0200)
commita84ac8995ac70728fc599501f4d781327f0e7f27
tree43497d1dfc4d3a516d90e427080bab3977e427f6
parent8b3b859bf8bed573c7abcc7b17f638b56a0ee287
f2fs: get out of a repeat loop when getting a locked data page

[ Upstream commit d2d9bb3b6d2fbccb5b33d3a85a2830971625a4ea ]

https://bugzilla.kernel.org/show_bug.cgi?id=216050

Somehow we're getting a page which has a different mapping.
Let's avoid the infinite loop.

Cc: <stable@vger.kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/f2fs/data.c