f2fs: support fiemap on compressed inode
authorChao Yu <yuchao0@huawei.com>
Sat, 28 Mar 2020 09:40:40 +0000 (17:40 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Fri, 8 May 2020 13:55:56 +0000 (06:55 -0700)
commitbf38fbad12b365223f9c5d4057f741bb03372737
tree49f8df9c4ccd9d5352d5a5c479727795f2a714c0
parent3265d3db1f16395cfc6b8ea9b31b4001d98d05ef
f2fs: support fiemap on compressed inode

Map normal/compressed cluster of compressed inode correctly, and give
the right fiemap flag FIEMAP_EXTENT_ENCODED on mapped compressed extent.

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