summaryrefslogtreecommitdiff
path: root/drivers/md/raid10.c
diff options
context:
space:
mode:
authorSong Liu <songliubraving@fb.com>2017-05-08 17:39:24 -0700
committerShaohua Li <shli@fb.com>2017-05-10 10:07:55 -0700
commitbb3338d3474e0329918fda9dae2c52751731eb58 (patch)
tree38e57304a6061a117d8faf1abb775804cd307254 /drivers/md/raid10.c
parent29efc390b9462582ae95eb9a0b8cd17ab956afc0 (diff)
md/raid5-cache: in r5l_do_submit_io(), submit io->split_bio first
In r5l_do_submit_io(), it is necessary to check io->split_bio before submit io->current_bio. This is because, endio of current_bio may free the whole IO unit, and thus change io->split_bio. Signed-off-by: Song Liu <songliubraving@fb.com> Signed-off-by: Shaohua Li <shli@fb.com>
Diffstat (limited to 'drivers/md/raid10.c')
0 files changed, 0 insertions, 0 deletions