diff options
author | Jaegeuk Kim <jaegeuk@kernel.org> | 2014-06-07 21:30:14 +0200 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2014-06-08 01:56:49 +0200 |
commit | 9ab701349247368f9d57a993b95a5bb05bb37e10 (patch) | |
tree | 7af7232ff421480e6955fc09afb9825c0eb6dcad /fs/f2fs/data.c | |
parent | f2fs: avoid not to call remove_dirty_inode (diff) | |
download | linux-9ab701349247368f9d57a993b95a5bb05bb37e10.tar.xz linux-9ab701349247368f9d57a993b95a5bb05bb37e10.zip |
f2fs: support f2fs_fiemap
This patch links f2fs_fiemap with generic function with get_block.
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/data.c')
-rw-r--r-- | fs/f2fs/data.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/fs/f2fs/data.c b/fs/f2fs/data.c index 39fe7d70791a..c1fb6dd10911 100644 --- a/fs/f2fs/data.c +++ b/fs/f2fs/data.c @@ -708,6 +708,12 @@ out: return err; } +int f2fs_fiemap(struct inode *inode, struct fiemap_extent_info *fieinfo, + u64 start, u64 len) +{ + return generic_block_fiemap(inode, fieinfo, start, len, get_data_block); +} + static int f2fs_read_data_page(struct file *file, struct page *page) { struct inode *inode = page->mapping->host; |