Whamcloud - gitweb
LU-8386 zfs: Use ZFS_MAXPROPLEN instead of ZFS_MAXNAMELEN 51/21251/2
authorChristopher J. Morrone <morrone2@llnl.gov>
Mon, 11 Jul 2016 23:10:29 +0000 (16:10 -0700)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 20 Jul 2016 17:42:35 +0000 (17:42 +0000)
commit7b57a7c836ab209f6f1efb93b0e9ffdc59a25534
treed70d837668443d84131906a3f7e43669c426f588
parent28c17d40e5a597a3d2f10f1f43039ef92425954e
LU-8386 zfs: Use ZFS_MAXPROPLEN instead of ZFS_MAXNAMELEN

ZFS_MAXNAMELEN was removed on zfs's master branch.  We
substitue ZFS_MAXPROPLEN in its place.  We only used this
macro in the get and set zfs property functions, so this
should be a reasonable exchange.

ZFS_MAXPROPLEN has also been around for a long time, so there
is no need to extra logic to make lustre lustre backwards
compatible with older ZFS releases.

Change-Id: I7292194f1a4e0311477954f7f83a3c353e785ac8
Test-Parameters: trivial
Signed-off-by: Christopher J. Morrone <morrone2@llnl.gov>
Reviewed-on: http://review.whamcloud.com/21251
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Nathaniel Clark <nathaniel.l.clark@intel.com>
lustre/utils/mount_utils_zfs.c