mirror of
https://github.com/hardkernel/linux.git
synced 2026-03-26 04:20:23 +09:00
[ Upstream commitc8dc3047c4] We need to unmap pages from userspace process before removing pagecache in punch_hole() like we did in f2fs_setattr(). Similar change: commit5e44f8c374("ext4: hole-punch use truncate_pagecache_range") Fixes:fbfa2cc58d("f2fs: add file operations") Signed-off-by: Chao Yu <chao@kernel.org> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>