Darik Horn
588d900433
Linux 3.2 compat: rw_semaphore.wait_lock is raw
...
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
2012-01-11 16:28:05 -08:00
..
2010-05-17 15:18:00 -07:00
2010-05-17 15:18:00 -07:00
2010-05-17 15:18:00 -07:00
2010-05-17 15:18:00 -07:00
2011-01-27 16:06:09 -08:00
2010-09-17 16:03:25 -07:00
2010-05-17 15:18:00 -07:00
2010-05-17 15:18:00 -07:00
2010-05-17 15:18:00 -07:00
2010-06-11 15:57:25 -07:00
2010-05-17 15:18:00 -07:00
2010-05-17 15:18:00 -07:00
2010-05-17 15:18:00 -07:00
2010-05-17 15:18:00 -07:00
2010-05-17 15:18:00 -07:00
2011-02-04 14:09:08 -08:00
2010-05-17 15:18:00 -07:00
2010-05-17 15:18:00 -07:00
2010-06-11 15:57:25 -07:00
2010-05-17 15:18:00 -07:00
2010-05-17 15:18:00 -07:00
2011-03-22 12:18:44 -07:00
2010-05-17 15:18:00 -07:00
2010-05-17 15:18:00 -07:00
2010-07-20 15:31:03 -07:00
2010-05-17 15:18:00 -07:00
2010-05-17 15:18:00 -07:00
2010-05-17 15:18:00 -07:00
2010-05-17 15:18:00 -07:00
2011-04-06 20:06:03 -07:00
2010-05-17 15:18:00 -07:00
2010-05-17 15:18:00 -07:00
2010-05-17 15:18:00 -07:00
2011-01-27 16:06:09 -08:00
2011-02-23 14:32:15 -08:00
2011-01-27 16:06:09 -08:00
2011-01-27 16:06:09 -08:00
2010-05-17 15:18:00 -07:00
2010-05-17 15:18:00 -07:00
2010-05-17 15:18:00 -07:00
2010-05-17 15:18:00 -07:00
2011-01-27 16:06:09 -08:00
2011-04-06 20:06:03 -07:00
2010-05-17 15:18:00 -07:00
2011-11-11 09:18:28 -08:00
2010-08-27 14:23:48 -07:00
2009-03-09 15:56:55 -07:00
2010-05-17 15:18:00 -07:00
2010-05-17 15:18:00 -07:00
2010-05-17 15:18:00 -07:00
2011-01-12 11:38:04 -08:00
2010-05-17 15:18:00 -07:00
2011-12-13 11:04:21 -08:00
2010-05-17 15:18:00 -07:00
2010-05-17 15:18:00 -07:00
2011-04-29 13:58:45 -07:00
2010-05-17 15:18:00 -07:00
2011-01-27 16:06:09 -08:00
2010-06-11 15:57:25 -07:00
2010-06-11 15:57:25 -07:00
2010-06-11 15:57:25 -07:00
2010-05-17 15:18:00 -07:00
2010-06-11 15:57:25 -07:00
2010-05-17 15:18:00 -07:00
2010-05-17 15:18:00 -07:00
2010-05-17 15:18:00 -07:00
2012-01-11 16:28:05 -08:00
2010-05-17 15:18:00 -07:00
2011-01-27 16:06:09 -08:00
2010-07-20 13:29:35 -07:00
2010-05-17 15:18:00 -07:00
2010-05-17 15:18:00 -07:00
2010-07-20 13:29:35 -07:00
2010-05-17 15:18:00 -07:00
2010-06-11 15:57:25 -07:00
2010-05-17 15:18:00 -07:00
2011-04-22 16:17:13 -07:00
2011-06-24 09:58:03 -07:00
2010-05-17 15:18:00 -07:00
2010-05-17 15:18:00 -07:00
2011-12-16 16:54:00 -08:00
2010-12-07 10:02:32 -08:00
2011-12-12 11:06:03 -08:00
2010-06-11 15:57:25 -07:00
2011-11-11 09:18:28 -08:00
2010-05-17 15:18:00 -07:00
2011-04-20 14:39:15 -07:00
2010-05-17 15:18:00 -07:00
2010-06-11 15:57:25 -07:00
2010-05-17 15:18:00 -07:00
2010-05-17 15:18:00 -07:00
2010-05-17 15:18:00 -07:00
2010-05-17 15:18:00 -07:00
2010-05-17 15:18:00 -07:00
2011-04-29 12:10:54 -07:00
2010-05-17 15:18:00 -07:00
2011-11-09 16:51:25 -08:00
2011-11-11 09:18:28 -08:00
2010-05-17 15:18:00 -07:00