aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorKent Overstreet <[email protected]>2023-11-20 18:23:26 -0500
committerKent Overstreet <[email protected]>2023-11-24 03:03:47 -0500
commit0af8a06a4ce823e380385cdd9538cdd968a1ffae (patch)
treee10e6aec12d250e00efe88feea2eb58285dff6c7 /lib/test_fortify/write_overflow-strncpy-src.c
parent8a443d3ea1327fea5ac3be77d2e39ebe35bfe9cf (diff)
bcachefs: deallocate_extra_replicas()
When allocating from devices with different durability, we might end up with more replicas than required; this changes bch2_alloc_sectors_start() to check for this, and drop replicas that aren't needed to hit the number of replicas requested. Signed-off-by: Kent Overstreet <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions