HomeFreeBSD

use ZFS_MAX_DATASET_NAME_LEN instead of MAXPATHLEN for dataset names

Description

use ZFS_MAX_DATASET_NAME_LEN instead of MAXPATHLEN for dataset names

The change affects only FreeBSD specific code as the common code already
mostly uses the more idiomatic and correct ZFS_MAX_DATASET_NAME_LEN.

MFC after: 1 week

Details

Provenance
avgAuthored on
Parents
rS358380: dsl_dataset_promote_sync: populate 'oldname' before using it
Branches
Unknown
Tags
Unknown