aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorXueshi Hu <[email protected]>2023-08-14 21:53:54 +0800
committerSong Liu <[email protected]>2023-08-17 21:11:30 -0700
commitc5d736f548ec5aab7e877872417ac23a5c42f1fd (patch)
treec4bc06b37fe9a90d97bbad343abd35e8ad8bf632 /lib/test_fortify/write_overflow-strncpy-src.c
parentec14a87ee1999b19d8b7ed0fa95fea80644624ae (diff)
md/raid1: call free_r1bio() before allow_barrier() in raid_end_bio_io()
After allow_barrier, a concurrent raid1_reshape() will replace old mempool and r1conf::raid_disks. Move allow_barrier() to the end of raid_end_bio_io(), so that r1bio can be freed safely. Reviewed-by: Yu Kuai <[email protected]> Signed-off-by: Xueshi Hu <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Song Liu <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions