f2fs: simplify f2fs_readpage_limit()
authorEric Biggers <ebiggers@google.com>
Fri, 23 Dec 2022 20:36:36 +0000 (12:36 -0800)
committerEric Biggers <ebiggers@google.com>
Tue, 10 Jan 2023 03:06:09 +0000 (19:06 -0800)
commitfeb0576a361aacaf12c49e66d32e293a0f3a2e64
treea2c282b6a997c513e505b45bf76e55e3d8832684
parent5e122148a3d573a66f47f826168a3c23a321ac9d
f2fs: simplify f2fs_readpage_limit()

Now that the implementation of FS_IOC_ENABLE_VERITY has changed to not
involve reading back Merkle tree blocks that were previously written,
there is no need for f2fs_readpage_limit() to allow for this case.

Signed-off-by: Eric Biggers <ebiggers@google.com>
Tested-by: Ojaswin Mujoo <ojaswin@linux.ibm.com>
Link: https://lore.kernel.org/r/20221223203638.41293-10-ebiggers@kernel.org
fs/f2fs/data.c