summaryrefslogtreecommitdiff
path: root/libbcachefs/alloc_background.c
diff options
context:
space:
mode:
authorAriel Miculas <ariel.miculas@gmail.com>2024-06-14 21:46:52 +0300
committerKent Overstreet <kent.overstreet@linux.dev>2024-06-16 14:09:13 -0400
commit3a4a096cd27146ce0b66f0be29b1af7a50f7f789 (patch)
tree30454be14b68e9f3b177699541e667eecaae53cd /libbcachefs/alloc_background.c
parented675b8d641b70aef97e7e6cc996b98af075f3bf (diff)
Fix incomplete file copy due to copy_data misuse
The copy_data function takes a start and an end parameter as the range of bytes to copy, but it was called with a start and a length parameter. This resulted in incomplete file copies. Fix it by passing the end of the range instead of the length. Signed-off-by: Ariel Miculas <ariel.miculas@gmail.com> Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'libbcachefs/alloc_background.c')
0 files changed, 0 insertions, 0 deletions