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:56 +0800
committerSong Liu <[email protected]>2023-08-17 21:11:30 -0700
commitc069da449a13669ffa754fd971747e7e17e7d691 (patch)
tree223fa12fa569a3f120905bcf13aeff2e5cc305f3 /lib/test_fortify/write_overflow-strncpy-src.c
parent992db13a4aee766c8bfbf046ad15c2db5fa7cab8 (diff)
md/raid1: hold the barrier until handle_read_error() finishes
handle_read_error() will call allow_barrier() to match the former barrier raising. However, it should put the allow_barrier() at the end to avoid a concurrent raid reshape. Fixes: 689389a06ce7 ("md/raid1: simplify handle_read_error().") 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