Module Name:    src
Committed By:   dholland
Date:           Fri Jun 12 19:06:32 UTC 2015

Modified Files:
        src/sys/kern: vfs_syscalls.c

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


To generate a diff of this commit:
cvs rdiff -u -r1.498 -r1.499 src/sys/kern/vfs_syscalls.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/kern/vfs_syscalls.c
diff -u src/sys/kern/vfs_syscalls.c:1.498 src/sys/kern/vfs_syscalls.c:1.499
--- src/sys/kern/vfs_syscalls.c:1.498	Wed May  6 15:57:08 2015
+++ src/sys/kern/vfs_syscalls.c	Fri Jun 12 19:06:32 2015
@@ -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 @@ sys_unmount(struct lwp *l, const struct 
 		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;

Reply via email to