diff options
| author | pooka <pooka@NetBSD.org> | 2007-12-08 19:29:36 +0000 |
|---|---|---|
| committer | pooka <pooka@NetBSD.org> | 2007-12-08 19:29:36 +0000 |
| commit | db06a930e64afd6ddf07786e564f24b98ce54054 (patch) | |
| tree | 1391aa2344817ba7674461f7c86b2facdb2dec62 /sys/compat/linux/common/linux_file.c | |
| parent | 85c7ab06409cab05aa97f9d33c57dadaadbb256f (diff) | |
Remove cn_lwp from struct componentname. curlwp should be used
from on. The NDINIT() macro no longer takes the lwp parameter and
associates the credentials of the calling thread with the namei
structure.
Diffstat (limited to 'sys/compat/linux/common/linux_file.c')
| -rw-r--r-- | sys/compat/linux/common/linux_file.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/compat/linux/common/linux_file.c b/sys/compat/linux/common/linux_file.c index dc4942099ac..071da18797c 100644 --- a/sys/compat/linux/common/linux_file.c +++ b/sys/compat/linux/common/linux_file.c @@ -1,4 +1,4 @@ -/* $NetBSD: linux_file.c,v 1.88 2007/12/08 18:36:07 dsl Exp $ */ +/* $NetBSD: linux_file.c,v 1.89 2007/12/08 19:29:39 pooka Exp $ */ /*- * Copyright (c) 1995, 1998 The NetBSD Foundation, Inc. @@ -42,7 +42,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: linux_file.c,v 1.88 2007/12/08 18:36:07 dsl Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux_file.c,v 1.89 2007/12/08 19:29:39 pooka Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -581,7 +581,7 @@ linux_sys_unlink(l, v, retval) * is the case. */ NDINIT(&nd, LOOKUP, FOLLOW | LOCKLEAF | TRYEMULROOT, UIO_USERSPACE, - SCARG(uap, path), l); + SCARG(uap, path)); if (namei(&nd) == 0) { struct stat sb; |
