mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2025-01-27 02:14:28 +03:00
588d900433
The wait_lock member of the rw_semaphore struct became a raw_spinlock_t in Linux 3.2 at torvalds/linux@ddb6c9b58a. Wrap spin_lock_* function calls in a new spl_rwsem_* interface to ensure type safety if raw_spinlock_t becomes architecture specific, and to satisfy these compiler warnings: warning: passing argument 1 of ‘spinlock_check’ from incompatible pointer type [enabled by default] note: expected ‘struct spinlock_t *’ but argument is of type ‘struct raw_spinlock_t *’ Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Closes: #76 Closes: zfsonlinux/zfs#463 |
||
---|---|---|
.. | ||
arch.am | ||
config.awk | ||
config.guess | ||
config.sub | ||
deb.am | ||
depcomp | ||
install-sh | ||
ltmain.sh | ||
missing | ||
rpm.am | ||
Rules.am | ||
spl-build.m4 | ||
spl-meta.m4 | ||
tgz.am |