summaryrefslogtreecommitdiff
path: root/fs/f2fs/namei.c
diff options
context:
space:
mode:
authorChao Yu <yuchao0@huawei.com>2019-07-22 18:03:50 +0800
committerJaegeuk Kim <jaegeuk@kernel.org>2019-08-23 07:57:11 -0700
commit7975f3498dc0403d8177c0775b9514158ec66681 (patch)
treea2852ce6094778eff567b1ebeeab95315003c0f3 /fs/f2fs/namei.c
parent04f9287ab395a5a279db44fb39de69b23640abb9 (diff)
f2fs: support fiemap() for directory inode
Adjust f2fs_fiemap() to support fiemap() on directory inode. Signed-off-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/namei.c')
-rw-r--r--fs/f2fs/namei.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/f2fs/namei.c b/fs/f2fs/namei.c
index c5b99042e6f2..612561c4f7bd 100644
--- a/fs/f2fs/namei.c
+++ b/fs/f2fs/namei.c
@@ -1250,6 +1250,7 @@ const struct inode_operations f2fs_dir_inode_operations = {
#ifdef CONFIG_F2FS_FS_XATTR
.listxattr = f2fs_listxattr,
#endif
+ .fiemap = f2fs_fiemap,
};
const struct inode_operations f2fs_symlink_inode_operations = {