summaryrefslogtreecommitdiff
path: root/sys/compat/linux
diff options
context:
space:
mode:
authorAlexander Leidinger <netchild@FreeBSD.org>2007-01-07 19:20:17 +0000
committerAlexander Leidinger <netchild@FreeBSD.org>2007-01-07 19:20:17 +0000
commitbb419e1b5b9d2119e623ac20a310c21602410864 (patch)
tree89ce2d06b3b3b20d7664d47f6a9315caca80a0ae /sys/compat/linux
parent0ed6f09c4eef58eb5c3177bbd4c0525f325cbc29 (diff)
Notes
Diffstat (limited to 'sys/compat/linux')
-rw-r--r--sys/compat/linux/linux_mib.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/compat/linux/linux_mib.c b/sys/compat/linux/linux_mib.c
index 3b025114371f..ac5774e6f7b6 100644
--- a/sys/compat/linux/linux_mib.c
+++ b/sys/compat/linux/linux_mib.c
@@ -237,12 +237,10 @@ linux_use26(struct thread *td)
pr = td->td_ucred->cr_prison;
if (pr != NULL) {
- mtx_lock(&pr->pr_mtx);
if (pr->pr_linux != NULL) {
lpr = (struct linux_prison *)pr->pr_linux;
use26 = lpr->pr_use_linux26;
}
- mtx_unlock(&pr->pr_mtx);
} else
use26 = linux_use_linux26;