Source-Changes-HG archive

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

[src/trunk]: src/sys/kern Oops missed one more NULL -> NOCRED



details:   https://anonhg.NetBSD.org/src/rev/f5811549afa1
branches:  trunk
changeset: 1009099:f5811549afa1
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Apr 12 19:56:14 2020 +0000

description:
Oops missed one more NULL -> NOCRED

diffstat:

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

diffs (27 lines):

diff -r d9d63141ce58 -r f5811549afa1 sys/kern/vfs_vnops.c
--- a/sys/kern/vfs_vnops.c      Sun Apr 12 18:14:09 2020 +0000
+++ b/sys/kern/vfs_vnops.c      Sun Apr 12 19:56:14 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vfs_vnops.c,v 1.209 2020/04/12 15:55:53 christos Exp $ */
+/*     $NetBSD: vfs_vnops.c,v 1.210 2020/04/12 19:56:14 christos Exp $ */
 
 /*-
  * Copyright (c) 2009 The NetBSD Foundation, Inc.
@@ -66,7 +66,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vfs_vnops.c,v 1.209 2020/04/12 15:55:53 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vfs_vnops.c,v 1.210 2020/04/12 19:56:14 christos Exp $");
 
 #include "veriexec.h"
 
@@ -1161,7 +1161,7 @@
                vn_lock(vp, LK_EXCLUSIVE | LK_RETRY);
        }
 
-       error = VOP_DELETEEXTATTR(vp, attrnamespace, attrname, NULL);
+       error = VOP_DELETEEXTATTR(vp, attrnamespace, attrname, NOCRED);
        if (error == EOPNOTSUPP)
                error = VOP_SETEXTATTR(vp, attrnamespace, attrname, NULL,
                    NOCRED);



Home | Main Index | Thread Index | Old Index