mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-11-18 10:21:01 +03:00
2d9142c9d4
The only remaining consumer of the rwlock compatibility wrappers is ztest. Remove the wrappers and convert the few remaining calls to the underlying pthread functions. rwlock_init() -> pthread_rwlock_init() rwlock_destroy() -> pthread_rwlock_destroy() rw_rdlock() -> pthread_rwlock_rdlock() rw_wrlock() -> pthread_rwlock_wrlock() rw_unlock() -> pthread_rwlock_unlock() Note pthread_rwlock_init() defaults to PTHREAD_PROCESS_PRIVATE which is equivilant to the USYNC_THREAD behavior. There is no functional change. Reviewed-by: Olaf Faaland <faaland1@llnl.gov> Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Closes #7591
24 lines
938 B
Makefile
24 lines
938 B
Makefile
SUBDIRS = ia32 rpc sys util
|
|
|
|
libspldir = $(includedir)/libspl
|
|
libspl_HEADERS = \
|
|
$(top_srcdir)/lib/libspl/include/assert.h \
|
|
$(top_srcdir)/lib/libspl/include/atomic.h \
|
|
$(top_srcdir)/lib/libspl/include/devid.h \
|
|
$(top_srcdir)/lib/libspl/include/libdevinfo.h \
|
|
$(top_srcdir)/lib/libspl/include/libgen.h \
|
|
$(top_srcdir)/lib/libspl/include/libshare.h \
|
|
$(top_srcdir)/lib/libspl/include/limits.h \
|
|
$(top_srcdir)/lib/libspl/include/locale.h \
|
|
$(top_srcdir)/lib/libspl/include/statcommon.h \
|
|
$(top_srcdir)/lib/libspl/include/stdio.h \
|
|
$(top_srcdir)/lib/libspl/include/stdlib.h \
|
|
$(top_srcdir)/lib/libspl/include/string.h \
|
|
$(top_srcdir)/lib/libspl/include/stropts.h \
|
|
$(top_srcdir)/lib/libspl/include/thread.h \
|
|
$(top_srcdir)/lib/libspl/include/tzfile.h \
|
|
$(top_srcdir)/lib/libspl/include/ucred.h \
|
|
$(top_srcdir)/lib/libspl/include/umem.h \
|
|
$(top_srcdir)/lib/libspl/include/unistd.h \
|
|
$(top_srcdir)/lib/libspl/include/zone.h
|