HomeFreeBSD

Prefix all refcount functions with zfs_

Description

Prefix all refcount functions with zfs_

Recent changes in the Linux kernel made it necessary to prefix
the refcount_add() function with zfs_ due to a name collision.

To bring the other functions in line with that and to avoid future
collisions, prefix the other refcount functions as well.

Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Tim Schumacher <timschumi@gmx.de>
Closes #7963

Details

Provenance
Tim Schumacher <timschumi@gmx.de>Authored on Oct 1 2018, 5:42 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Oct 1 2018, 5:42 PM
Parents
rGfc23d59fa09f: Remove duplicate macro in dsl_dir.h
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rG424fd7c3e080: Prefix all refcount functions with zfs_ (authored by Tim Schumacher <timschumi@gmx.de>).Oct 1 2018, 5:42 PM