diff options
author | Matthew Bobrowski <mbobrowski@mbobrowski.org> | 2019-11-05 23:00:14 +1100 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2019-11-05 11:31:40 -0500 |
commit | f063db5ee989aafe2dc9d571b5538f2a1f1cbad2 (patch) | |
tree | 5fe00f5d90ce44b494c9ab9b772dbe42beae10a3 /fs/ext4/hash.c | |
parent | c8fdfe294187455b70e42a15df35a3e1882f332d (diff) |
ext4: split IOMAP_WRITE branch in ext4_iomap_begin() into helper
In preparation for porting across the ext4 direct I/O path over to the
iomap infrastructure, split up the IOMAP_WRITE branch that's currently
within ext4_iomap_begin() into a separate helper
ext4_alloc_iomap(). This way, when we add in the necessary code for
direct I/O, we don't end up with ext4_iomap_begin() becoming a
monstrous twisty maze.
Signed-off-by: Matthew Bobrowski <mbobrowski@mbobrowski.org>
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Ritesh Harjani <riteshh@linux.ibm.com>
Link: https://lore.kernel.org/r/50eef383add1ea529651640574111076c55aca9f.1572949325.git.mbobrowski@mbobrowski.org
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/hash.c')
0 files changed, 0 insertions, 0 deletions