HomeFreeBSD

znode: expose zfs_get_zplprop to libzpool

Description

znode: expose zfs_get_zplprop to libzpool

There's no particular reason this function should be kernel-only, and I
want to use it (indirectly) from zdb. I've moved it to zfs_znode.c
because libzpool does not compile in zfs_vfsops.c, and this at least
matches the header its imported from.

Sponsored-By: Klara, Inc.
Reviewed-by: Tino Reichardt <milky-zfs@mcmilk.de>
Reviewed-by: WHR <msl0000023508@gmail.com>
Signed-off-by: Rob Norris <rob.norris@klarasystems.com>
Closes #14642

Details

Provenance
rob.norris_klarasystems.comAuthored on Jun 4 2023, 1:14 AM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Jun 5 2023, 6:53 PM
Parents
rG5ba4025a8d94: Introduce zfs_refcount_(add|remove)_few().
Branches
Unknown
Tags
Unknown