Files
mirror_zfs/include
Brian Behlendorf 86fd39f354 Linux 2.6.39 compat, mutex owner
Prior to Linux 2.6.39 when CONFIG_DEBUG_MUTEXES was defined
the kernel stored a thread_info pointer as the mutex owner.
From this you could get the pointer of the current task_struct
to compare with get_current().

As of Linux 2.6.39 this behavior has changed and now the mutex
stores a pointer to the task_struct.  This commit detects the
type of pointer stored in the mutex and adjusts the mutex_owner()
and mutex_owned() functions to perform the correct comparision.
2011-06-24 13:00:08 -07:00
..
2010-05-17 15:18:00 -07:00
2011-06-21 14:02:39 -07:00
2010-05-17 15:18:00 -07:00
2010-05-17 15:18:00 -07:00
2011-06-24 13:00:08 -07:00
2010-06-14 14:20:31 -07:00
2010-05-17 15:18:00 -07:00
2010-01-08 09:37:54 -08:00
2010-09-05 21:49:05 -07:00
2010-09-05 21:49:05 -07:00
2010-05-17 15:18:00 -07:00
2011-02-25 16:56:22 -08:00
2010-05-17 15:18:00 -07:00
2010-07-20 13:29:35 -07:00
2011-06-21 14:02:46 -07:00
2010-05-17 15:18:00 -07:00
2010-05-17 15:18:00 -07:00