mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2025-10-24 00:44:59 +03:00
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. |
||
|---|---|---|
| .. | ||
| 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 | ||