summaryrefslogtreecommitdiffstats
path: root/fs/f2fs/extent_cache.c
diff options
context:
space:
mode:
authorYunlei He <heyunlei@huawei.com>2016-12-20 04:11:35 +0100
committerJaegeuk Kim <jaegeuk@kernel.org>2017-01-29 04:46:01 +0100
commit746e2403927efbd7c7f2e796314e3cfb3cfabaa4 (patch)
tree94f9f6fa3a5f83c675397aca696d125253fc9fd0 /fs/f2fs/extent_cache.c
parentf2fs: fix a problem of using memory after free (diff)
downloadlinux-746e2403927efbd7c7f2e796314e3cfb3cfabaa4.tar.xz
linux-746e2403927efbd7c7f2e796314e3cfb3cfabaa4.zip
f2fs: add a case of no need to read a page in write begin
If the range we write cover the whole valid data in the last page, we do not need to read it. Signed-off-by: Yunlei He <heyunlei@huawei.com> [Jaegeuk Kim: nullify the remaining area (fix: xfstests/f2fs/001)] Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/extent_cache.c')
0 files changed, 0 insertions, 0 deletions