Ryan Libby 956f94010f
spa: avoid type narrowing warning
Building the spa module for i386 caused gcc to emit
-Wint-to-pointer-cast "cast to pointer from integer of different size"
because spa.spa_did was uint64_t but pthread_join (via thread_join in
spa_deactivate) takes a pointer (32-bit on i386).  Define spa_did to be
pointer-size instead.  For now spa_did is in fact never non-zero and the
thread_join could instead be ifdef'd out, but changing the size of
spa_did may be more useful for the future.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ryan Libby <rlibby@FreeBSD.org>
Closes #11336
2020-12-15 09:20:06 -08:00
..
2020-12-15 09:20:06 -08:00
2020-03-27 09:11:22 -07:00
2017-09-19 12:17:29 -07:00
2020-06-18 12:21:32 -07:00
2017-08-09 15:31:08 -07:00
2019-06-24 16:44:01 -07:00
2020-02-11 13:19:12 -08:00