summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/dksubr.c6
-rw-r--r--sys/dev/firmload.c6
-rw-r--r--sys/dev/fss.c14
-rw-r--r--sys/dev/kloader.c6
-rw-r--r--sys/dev/verified_exec.c10
-rw-r--r--sys/dev/vnd.c6
6 files changed, 24 insertions, 24 deletions
diff --git a/sys/dev/dksubr.c b/sys/dev/dksubr.c
index 8b4193df7ac..b2b1db96502 100644
--- a/sys/dev/dksubr.c
+++ b/sys/dev/dksubr.c
@@ -1,4 +1,4 @@
-/* $NetBSD: dksubr.c,v 1.32 2007/11/26 19:01:34 pooka Exp $ */
+/* $NetBSD: dksubr.c,v 1.33 2007/12/08 19:29:41 pooka Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998, 1999, 2002 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: dksubr.c,v 1.32 2007/11/26 19:01:34 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dksubr.c,v 1.33 2007/12/08 19:29:41 pooka Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -637,7 +637,7 @@ dk_lookup(const char *path, struct lwp *l, struct vnode **vpp,
if (l == NULL)
return ESRCH; /* Is ESRCH the best choice? */
- NDINIT(&nd, LOOKUP, FOLLOW, segflg, path, l);
+ NDINIT(&nd, LOOKUP, FOLLOW, segflg, path);
if ((error = vn_open(&nd, FREAD | FWRITE, 0)) != 0) {
DPRINTF((DKDB_FOLLOW|DKDB_INIT),
("dk_lookup: vn_open error = %d\n", error));
diff --git a/sys/dev/firmload.c b/sys/dev/firmload.c
index 6411ec43b77..0e4f1732e2d 100644
--- a/sys/dev/firmload.c
+++ b/sys/dev/firmload.c
@@ -1,4 +1,4 @@
-/* $NetBSD: firmload.c,v 1.8 2007/11/26 19:01:35 pooka Exp $ */
+/* $NetBSD: firmload.c,v 1.9 2007/12/08 19:29:41 pooka Exp $ */
/*-
* Copyright (c) 2005, 2006 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: firmload.c,v 1.8 2007/11/26 19:01:35 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: firmload.c,v 1.9 2007/12/08 19:29:41 pooka Exp $");
/*
* The firmload API provides an interface for device drivers to access
@@ -251,7 +251,7 @@ firmware_open(const char *drvname, const char *imgname, firmware_handle_t *fhp)
for (path = firmware_path_first(drvname, imgname, pnbuf, &prefix);
path != NULL;
path = firmware_path_next(drvname, imgname, pnbuf, &prefix)) {
- NDINIT(&nd, LOOKUP, FOLLOW, UIO_SYSSPACE, path, curlwp);
+ NDINIT(&nd, LOOKUP, FOLLOW, UIO_SYSSPACE, path);
error = vn_open(&nd, FREAD, 0);
if (error == ENOENT)
continue;
diff --git a/sys/dev/fss.c b/sys/dev/fss.c
index d9973928a6c..15b71fee8a5 100644
--- a/sys/dev/fss.c
+++ b/sys/dev/fss.c
@@ -1,4 +1,4 @@
-/* $NetBSD: fss.c,v 1.40 2007/12/05 07:06:50 ad Exp $ */
+/* $NetBSD: fss.c,v 1.41 2007/12/08 19:29:41 pooka Exp $ */
/*-
* Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -43,7 +43,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: fss.c,v 1.40 2007/12/05 07:06:50 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: fss.c,v 1.41 2007/12/08 19:29:41 pooka Exp $");
#include "fss.h"
@@ -540,7 +540,7 @@ fss_create_files(struct fss_softc *sc, struct fss_set *fss,
* Get the mounted file system.
*/
- NDINIT(&nd, LOOKUP, FOLLOW, UIO_USERSPACE, fss->fss_mount, l);
+ NDINIT(&nd, LOOKUP, FOLLOW, UIO_USERSPACE, fss->fss_mount);
if ((error = namei(&nd)) != 0)
return error;
@@ -558,7 +558,7 @@ fss_create_files(struct fss_softc *sc, struct fss_set *fss,
* Check for file system internal snapshot.
*/
- NDINIT(&nd, LOOKUP, FOLLOW, UIO_USERSPACE, fss->fss_bstore, l);
+ NDINIT(&nd, LOOKUP, FOLLOW, UIO_USERSPACE, fss->fss_bstore);
if ((error = namei(&nd)) != 0)
return error;
@@ -566,7 +566,7 @@ fss_create_files(struct fss_softc *sc, struct fss_set *fss,
vrele(nd.ni_vp);
sc->sc_flags |= FSS_PERSISTENT;
- NDINIT(&nd, LOOKUP, FOLLOW, UIO_USERSPACE, fss->fss_bstore, l);
+ NDINIT(&nd, LOOKUP, FOLLOW, UIO_USERSPACE, fss->fss_bstore);
if ((error = vn_open(&nd, FREAD, 0)) != 0)
return error;
sc->sc_bs_vp = nd.ni_vp;
@@ -599,7 +599,7 @@ fss_create_files(struct fss_softc *sc, struct fss_set *fss,
*/
NDINIT(&nd, LOOKUP, FOLLOW, UIO_SYSSPACE,
- sc->sc_mount->mnt_stat.f_mntfromname, l);
+ sc->sc_mount->mnt_stat.f_mntfromname);
if ((error = namei(&nd)) != 0)
return error;
@@ -622,7 +622,7 @@ fss_create_files(struct fss_softc *sc, struct fss_set *fss,
* Get the backing store
*/
- NDINIT(&nd, LOOKUP, FOLLOW, UIO_USERSPACE, fss->fss_bstore, l);
+ NDINIT(&nd, LOOKUP, FOLLOW, UIO_USERSPACE, fss->fss_bstore);
if ((error = vn_open(&nd, FREAD|FWRITE, 0)) != 0)
return error;
VOP_UNLOCK(nd.ni_vp, 0);
diff --git a/sys/dev/kloader.c b/sys/dev/kloader.c
index bb602da1f59..fea0887e862 100644
--- a/sys/dev/kloader.c
+++ b/sys/dev/kloader.c
@@ -1,4 +1,4 @@
-/* $NetBSD: kloader.c,v 1.12 2007/02/21 22:59:58 thorpej Exp $ */
+/* $NetBSD: kloader.c,v 1.13 2007/12/08 19:29:41 pooka Exp $ */
/*-
* Copyright (c) 2001, 2002, 2004 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kloader.c,v 1.12 2007/02/21 22:59:58 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kloader.c,v 1.13 2007/12/08 19:29:41 pooka Exp $");
#include "debug_kloader.h"
@@ -600,7 +600,7 @@ kloader_open(const char *filename)
struct nameidata nid;
int error;
- NDINIT(&nid, LOOKUP, FOLLOW, UIO_SYSSPACE, filename, l);
+ NDINIT(&nid, LOOKUP, FOLLOW, UIO_SYSSPACE, filename);
error = namei(&nid);
if (error != 0) {
diff --git a/sys/dev/verified_exec.c b/sys/dev/verified_exec.c
index 337f6db7327..fa2bf149211 100644
--- a/sys/dev/verified_exec.c
+++ b/sys/dev/verified_exec.c
@@ -1,4 +1,4 @@
-/* $NetBSD: verified_exec.c,v 1.61 2007/07/09 21:00:29 ad Exp $ */
+/* $NetBSD: verified_exec.c,v 1.62 2007/12/08 19:29:41 pooka Exp $ */
/*-
* Copyright (c) 2005, 2006 Elad Efrat <elad@NetBSD.org>
@@ -30,9 +30,9 @@
#include <sys/cdefs.h>
#if defined(__NetBSD__)
-__KERNEL_RCSID(0, "$NetBSD: verified_exec.c,v 1.61 2007/07/09 21:00:29 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: verified_exec.c,v 1.62 2007/12/08 19:29:41 pooka Exp $");
#else
-__RCSID("$Id: verified_exec.c,v 1.61 2007/07/09 21:00:29 ad Exp $\n$NetBSD: verified_exec.c,v 1.61 2007/07/09 21:00:29 ad Exp $");
+__RCSID("$Id: verified_exec.c,v 1.62 2007/12/08 19:29:41 pooka Exp $\n$NetBSD: verified_exec.c,v 1.62 2007/12/08 19:29:41 pooka Exp $");
#endif
#include <sys/param.h>
@@ -135,7 +135,7 @@ veriexec_delete(prop_dictionary_t dict, struct lwp *l)
int error;
NDINIT(&nid, LOOKUP, FOLLOW, UIO_SYSSPACE,
- prop_string_cstring_nocopy(prop_dictionary_get(dict, "file")), l);
+ prop_string_cstring_nocopy(prop_dictionary_get(dict, "file")));
error = namei(&nid);
if (error)
return (error);
@@ -158,7 +158,7 @@ veriexec_query(prop_dictionary_t dict, prop_dictionary_t rdict, struct lwp *l)
int error;
NDINIT(&nid, LOOKUP, FOLLOW, UIO_SYSSPACE,
- prop_string_cstring_nocopy(prop_dictionary_get(dict, "file")), l);
+ prop_string_cstring_nocopy(prop_dictionary_get(dict, "file")));
error = namei(&nid);
if (error)
return (error);
diff --git a/sys/dev/vnd.c b/sys/dev/vnd.c
index ed050293572..f59f106387f 100644
--- a/sys/dev/vnd.c
+++ b/sys/dev/vnd.c
@@ -1,4 +1,4 @@
-/* $NetBSD: vnd.c,v 1.171 2007/11/26 19:01:35 pooka Exp $ */
+/* $NetBSD: vnd.c,v 1.172 2007/12/08 19:29:41 pooka Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
@@ -137,7 +137,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vnd.c,v 1.171 2007/11/26 19:01:35 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vnd.c,v 1.172 2007/12/08 19:29:41 pooka Exp $");
#if defined(_KERNEL_OPT)
#include "fs_nfs.h"
@@ -977,7 +977,7 @@ vndioctl(dev_t dev, u_long cmd, void *data, int flag, struct lwp *l)
fflags = FREAD;
if ((vio->vnd_flags & VNDIOF_READONLY) == 0)
fflags |= FWRITE;
- NDINIT(&nd, LOOKUP, FOLLOW, UIO_USERSPACE, vio->vnd_file, l);
+ NDINIT(&nd, LOOKUP, FOLLOW, UIO_USERSPACE, vio->vnd_file);
if ((error = vn_open(&nd, fflags, 0)) != 0)
goto unlock_and_exit;
KASSERT(l);