diff options
author | Matthew Bobrowski <mbobrowski@mbobrowski.org> | 2019-11-05 13:00:14 +0100 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2019-11-05 17:31:40 +0100 |
commit | f063db5ee989aafe2dc9d571b5538f2a1f1cbad2 (patch) | |
tree | 5fe00f5d90ce44b494c9ab9b772dbe42beae10a3 /kernel/pid.c | |
parent | ext4: move set iomap routines into a separate helper ext4_set_iomap() (diff) | |
download | linux-f063db5ee989aafe2dc9d571b5538f2a1f1cbad2.tar.xz linux-f063db5ee989aafe2dc9d571b5538f2a1f1cbad2.zip |
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 'kernel/pid.c')
0 files changed, 0 insertions, 0 deletions