Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/ufs/ext2fs curlwp can never be NULL now.
details: https://anonhg.NetBSD.org/src/rev/9b99a5a13174
branches: trunk
changeset: 332416:9b99a5a13174
user: matt <matt%NetBSD.org@localhost>
date: Fri Sep 19 23:52:34 2014 +0000
description:
curlwp can never be NULL now.
diffstat:
sys/ufs/ext2fs/ext2fs_vfsops.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r b442a17e54ed -r 9b99a5a13174 sys/ufs/ext2fs/ext2fs_vfsops.c
--- a/sys/ufs/ext2fs/ext2fs_vfsops.c Fri Sep 19 21:35:42 2014 +0000
+++ b/sys/ufs/ext2fs/ext2fs_vfsops.c Fri Sep 19 23:52:34 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ext2fs_vfsops.c,v 1.184 2014/08/22 16:49:30 hannken Exp $ */
+/* $NetBSD: ext2fs_vfsops.c,v 1.185 2014/09/19 23:52:34 matt Exp $ */
/*
* Copyright (c) 1989, 1991, 1993, 1994
@@ -60,7 +60,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ext2fs_vfsops.c,v 1.184 2014/08/22 16:49:30 hannken Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ext2fs_vfsops.c,v 1.185 2014/09/19 23:52:34 matt Exp $");
#if defined(_KERNEL_OPT)
#include "opt_compat_netbsd.h"
@@ -639,7 +639,7 @@
kauth_cred_t cred;
dev = devvp->v_rdev;
- cred = l ? l->l_cred : NOCRED;
+ cred = l->l_cred;
/* Flush out any old buffers remaining from a previous use. */
vn_lock(devvp, LK_EXCLUSIVE | LK_RETRY);
Home |
Main Index |
Thread Index |
Old Index