]> granicus.if.org Git - zfs/commit
Add pn_alloc()/pn_free() functions
authorBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 13 Apr 2016 15:55:35 +0000 (08:55 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 21 Apr 2016 16:49:25 +0000 (09:49 -0700)
commitda5e151f207ff1bc4972ce74a3a85e442ffd5a03
tree59fcc326b6ad69b36bc9f06bf1dd25a23afee34c
parent8fc5674c522e22f0b97e4714bf5410e24d481afa
Add pn_alloc()/pn_free() functions

In order to remove the HAVE_PN_UTILS wrappers the pn_alloc() and
pn_free() functions must be implemented.  The existing illumos
implementation were used for this purpose.

The `flags` argument which was used in places wrapped by the
HAVE_PN_UTILS condition has beed added back to zfs_remove() and
zfs_link() functions.  This removes a small point of divergence
between the ZoL code and upstream.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #4522
include/sys/Makefile.am
include/sys/pathname.h [new file with mode: 0644]
include/sys/zfs_vnops.h
lib/libzpool/Makefile.am
module/zfs/Makefile.in
module/zfs/pathname.c [new file with mode: 0644]
module/zfs/zfs_replay.c
module/zfs/zfs_vnops.c
module/zfs/zpl_inode.c
module/zfs/zpl_xattr.c