commit | c8dc3047c48540183744f959412d44b08c5435e1 | [log] [tgz] |
---|---|---|
author | Chao Yu <chao@kernel.org> | Wed Aug 25 19:34:19 2021 +0800 |
committer | Jaegeuk Kim <jaegeuk@kernel.org> | Mon Aug 30 10:12:47 2021 -0700 |
tree | 99943c5b637cee5211483406bbe57da1bad4b76c | |
parent | adf9ea89c719c1d23794e363f631e376b3ff8cbc [diff] |
f2fs: fix to unmap pages from userspace process in punch_hole() 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>