Message ID | 1457122300-28514-5-git-send-email-rpeterso@redhat.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
> - ret = __generic_block_fiemap(inode, fieinfo, start, len, > - gfs2_block_map); > + ret = __generic_iomap_fiemap(inode, fieinfo, start, len, > + gfs2_get_iomap); So it seems like the generic_iomap_fiemap you added is unused, no need to add it then. -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/fs/gfs2/inode.c b/fs/gfs2/inode.c index 1bae189..3625753 100644 --- a/fs/gfs2/inode.c +++ b/fs/gfs2/inode.c @@ -2090,8 +2090,8 @@ static int gfs2_fiemap(struct inode *inode, struct fiemap_extent_info *fieinfo, if (ret == 1) ret = 0; } else { - ret = __generic_block_fiemap(inode, fieinfo, start, len, - gfs2_block_map); + ret = __generic_iomap_fiemap(inode, fieinfo, start, len, + gfs2_get_iomap); } gfs2_glock_dq_uninit(&gh);
This patch switches the GFS2 fiemap interface so that it uses the new iomap infrastructure rather than the old blockmap. Signed-off-by: Bob Peterson <rpeterso@redhat.com> --- fs/gfs2/inode.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)