diff options
author | Brian Behlendorf <[email protected]> | 2016-04-13 08:55:35 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2016-04-21 09:49:25 -0700 |
commit | da5e151f207ff1bc4972ce74a3a85e442ffd5a03 (patch) | |
tree | 59fcc326b6ad69b36bc9f06bf1dd25a23afee34c /lib/libzpool | |
parent | 8fc5674c522e22f0b97e4714bf5410e24d481afa (diff) |
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 <[email protected]>
Closes #4522
Diffstat (limited to 'lib/libzpool')
-rw-r--r-- | lib/libzpool/Makefile.am | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libzpool/Makefile.am b/lib/libzpool/Makefile.am index f45a57d71..3e59efa5c 100644 --- a/lib/libzpool/Makefile.am +++ b/lib/libzpool/Makefile.am @@ -64,6 +64,7 @@ KERNEL_C = \ lz4.c \ metaslab.c \ multilist.c \ + pathname.c \ range_tree.c \ refcount.c \ rrwlock.c \ |