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/c0ab6c2a98b4
branches:  trunk
changeset: 809008:c0ab6c2a98b4
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 e045f31934e7 -r c0ab6c2a98b4 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