Project

General

Profile

Bug #8426

mark immutable buffer arguments as such in abd.h

Added by Andriy Gapon about 2 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
zfs - Zettabyte File System
Start date:
2017-06-26
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
needs-triage

Description

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.

History

#2

Updated by Electric Monk about 2 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

git commit 9b195260e22529ac0e2580faaf89402420589c1c

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 <mahrens@delphix.com>
    Approved by: Robert Mustacchi <rm@joyent.com>

Also available in: Atom PDF