Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/kern Use NOFOLLOW intead of <empty>. Purely cosmetic as ...



details:   https://anonhg.NetBSD.org/src/rev/8edc49794f36
branches:  trunk
changeset: 338866:8edc49794f36
user:      dholland <dholland%NetBSD.org@localhost>
date:      Fri Jun 12 19:06:32 2015 +0000

description:
Use NOFOLLOW intead of <empty>. Purely cosmetic as NOFOLLOW is 0, but
it's supposed to be there for clarity.

diffstat:

 sys/kern/vfs_syscalls.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r bd791b9791c0 -r 8edc49794f36 sys/kern/vfs_syscalls.c
--- a/sys/kern/vfs_syscalls.c   Fri Jun 12 17:50:01 2015 +0000
+++ b/sys/kern/vfs_syscalls.c   Fri Jun 12 19:06:32 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vfs_syscalls.c,v 1.498 2015/05/06 15:57:08 hannken Exp $       */
+/*     $NetBSD: vfs_syscalls.c,v 1.499 2015/06/12 19:06:32 dholland Exp $      */
 
 /*-
  * Copyright (c) 2008, 2009 The NetBSD Foundation, Inc.
@@ -70,7 +70,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vfs_syscalls.c,v 1.498 2015/05/06 15:57:08 hannken Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vfs_syscalls.c,v 1.499 2015/06/12 19:06:32 dholland Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_fileassoc.h"
@@ -573,7 +573,7 @@
                return error;
        }
 
-       NDINIT(&nd, LOOKUP, LOCKLEAF | TRYEMULROOT, pb);
+       NDINIT(&nd, LOOKUP, NOFOLLOW | LOCKLEAF | TRYEMULROOT, pb);
        if ((error = namei(&nd)) != 0) {
                pathbuf_destroy(pb);
                return error;



Home | Main Index | Thread Index | Old Index