mark immutable buffer arguments as such in abd.h
zfs - Zettabyte File System
abd_copy_from_buf and abd_cmp_buf do not modify their void *buf arguments, so qualify them with const.
abd_copy_from_buf_off and abd_cmp_buf_off already had that type for the corresponding arguments.
Updated by Electric Monk about 2 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100
commit 9b195260e22529ac0e2580faaf89402420589c1c Author: Andriy Gapon <avg@FreeBSD.org> Date: 2017-06-29T23:10:43.000Z 8426 mark immutable buffer arguments as such in abd.h Reviewed by: Matt Ahrens <email@example.com> Approved by: Robert Mustacchi <firstname.lastname@example.org>