Chao Yu debdff9600 f2fs: fix to unmap pages from userspace process in punch_hole()
[ Upstream commit c8dc3047c48540183744f959412d44b08c5435e1 ]

We need to unmap pages from userspace process before removing pagecache
in punch_hole() like we did in f2fs_setattr().

Similar change:
commit 5e44f8c374dc ("ext4: hole-punch use truncate_pagecache_range")

Fixes: fbfa2cc58d53 ("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>
2021-09-22 12:26:26 +02:00
..
2019-05-08 21:23:11 -07:00
2018-09-12 13:07:10 -07:00
2018-09-12 13:07:10 -07:00
2019-08-12 19:33:51 -07:00
2021-09-22 12:26:22 +02:00
2018-09-12 13:07:10 -07:00
2019-08-12 19:33:51 -07:00