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)
committerJaegeuk Kim <jaegeuk@kernel.org>
Mon, 14 Aug 2023 20:41:07 +0000 (13:41 -0700)
commitd2d9bb3b6d2fbccb5b33d3a85a2830971625a4ea
tree3e46746af1dba3f9b609fe50e0bfc6651f02c529
parenta3ab55746612247ce3dcaac6de66f5ffc055b9df
f2fs: get out of a repeat loop when getting a locked data page

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>
fs/f2fs/data.c