f2fs: add block address limit check to compressed file
authorDaeho Jeong <daehojeong@google.com>
Mon, 31 Aug 2020 00:24:01 +0000 (09:24 +0900)
committerJaegeuk Kim <jaegeuk@kernel.org>
Fri, 11 Sep 2020 18:11:25 +0000 (11:11 -0700)
commit4eda1682cd0bf4a300d0b4e3ce2187dd8fccafde
treeb25b02f457c89280bd9b5996c465693f7758b10d
parentaad1383cbf08c87f29f5dba1622e122717fbc32a
f2fs: add block address limit check to compressed file

Need to add block address range check to compressed file case and
avoid calling get_data_block_bmap() for compressed file.

Signed-off-by: Daeho Jeong <daehojeong@google.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/data.c