Backout previous.
This commit is contained in:
parent
13d6d39771
commit
89ce37fcdb
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: kernfs_vnops.c,v 1.105 2004/10/27 06:51:06 skrll Exp $ */
|
||||
/* $NetBSD: kernfs_vnops.c,v 1.106 2004/10/27 06:55:53 skrll Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1992, 1993
|
||||
@ -39,7 +39,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: kernfs_vnops.c,v 1.105 2004/10/27 06:51:06 skrll Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: kernfs_vnops.c,v 1.106 2004/10/27 06:55:53 skrll Exp $");
|
||||
|
||||
#ifdef _KERNEL_OPT
|
||||
#include "opt_ipsec.h"
|
||||
@ -1043,7 +1043,7 @@ kernfs_setdirentfileno_kt(struct dirent *d, const struct kern_target *kt,
|
||||
struct vattr va;
|
||||
if ((error = VOP_GETATTR(vp, &va, ap->a_cred,
|
||||
ap->a_uio->uio_segflg == UIO_USERSPACE ?
|
||||
ap->a_uio->uio_procp : NULL)) != 0)
|
||||
ap->a_uio->uio_procp : &proc0)) != 0)
|
||||
return (error);
|
||||
d->d_fileno = va.va_fileid;
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user