]> www.infradead.org Git - users/jedix/linux-maple.git/commit
f2fs: Clean up the loop outside of f2fs_invalidate_blocks()
authorYi Sun <yi.sun@unisoc.com>
Mon, 13 Jan 2025 01:47:02 +0000 (09:47 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Wed, 22 Jan 2025 21:04:56 +0000 (21:04 +0000)
commit6d4008dc4a8e0949afe1d9ff27c93fe68672ea06
treef3dac1c433eae0080dd6696508eb4c58f9a011b5
parentf6370a360d46e4cf10f5dde3c857747994fe1fd5
f2fs: Clean up the loop outside of f2fs_invalidate_blocks()

Now f2fs_invalidate_blocks() supports a continuous range of addresses,
so the for loop can be omitted.

Signed-off-by: Yi Sun <yi.sun@unisoc.com>
Signed-off-by: Zhiguo Niu <zhiguo.niu@unisoc.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/file.c