Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
f2fs: fix to unmap pages from userspace process in punch_hole()
[ Upstream commit c8dc304 ] We need to unmap pages from userspace process before removing pagecache in punch_hole() like we did in f2fs_setattr(). Similar change: commit 5e44f8c ("ext4: hole-punch use truncate_pagecache_range") Fixes: fbfa2cc ("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>
- Loading branch information