aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2023-01-11 07:23:30 +0100
committerDavid Sterba <[email protected]>2023-02-15 19:38:54 +0100
commit02efa3a6baffdd753dc04034c848a5956784422d (patch)
treed2def6ab353d7932730b4fb3196f5176663f72bf /lib/test_fortify/write_overflow-strncpy-src.c
parentd838d05ea5091044957d664b9f9c38fefcaf6d97 (diff)
btrfs: raid56: fold rmw_read_wait_recover into rmw_read_bios
There is very little extra code in rmw_read_bios, and a large part of it is the superfluous extra cleanup of the bio list. Merge the two functions, and only clean up the bio list after it has been added to but before it has been emptied again by submit_read_wait_bio_list. Reviewed-by: Qu Wenruo <[email protected]> Reviewed-by: Johannes Thumshirn <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions