diff options
author | Gao Xiang <hsiangkao@linux.alibaba.com> | 2021-08-13 13:29:31 +0800 |
---|---|---|
committer | Gao Xiang <hsiangkao@linux.alibaba.com> | 2021-08-19 00:13:43 +0800 |
commit | eadcd6b5a1eb39866ab8d8a3e4f2e51bc51a2350 (patch) | |
tree | 6675343c98541503c6fbfd91d8ced4cec1ead430 /fs/erofs/namei.c | |
parent | d95ae5e25326092d61613acf98280270dde22778 (diff) |
erofs: add fiemap support with iomap
This adds fiemap support for both uncompressed files and compressed
files by using iomap infrastructure.
Link: https://lore.kernel.org/r/20210813052931.203280-3-hsiangkao@linux.alibaba.com
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Diffstat (limited to 'fs/erofs/namei.c')
-rw-r--r-- | fs/erofs/namei.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/erofs/namei.c b/fs/erofs/namei.c index a8271ce5e13f..8629e616028c 100644 --- a/fs/erofs/namei.c +++ b/fs/erofs/namei.c @@ -245,4 +245,5 @@ const struct inode_operations erofs_dir_iops = { .getattr = erofs_getattr, .listxattr = erofs_listxattr, .get_acl = erofs_get_acl, + .fiemap = erofs_fiemap, }; |