Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/cddl/osnet/sys/sys Allow zfs_vn_rdwr() with "rw == ...
details: https://anonhg.NetBSD.org/src/rev/78c362fd76c3
branches: trunk
changeset: 838342:78c362fd76c3
user: hannken <hannken%NetBSD.org@localhost>
date: Sat Jan 12 10:44:36 2019 +0000
description:
Allow zfs_vn_rdwr() with "rw == UIO_READ" too.
diffstat:
external/cddl/osnet/sys/sys/vnode.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (19 lines):
diff -r 00af630d7763 -r 78c362fd76c3 external/cddl/osnet/sys/sys/vnode.h
--- a/external/cddl/osnet/sys/sys/vnode.h Sat Jan 12 10:44:05 2019 +0000
+++ b/external/cddl/osnet/sys/sys/vnode.h Sat Jan 12 10:44:36 2019 +0000
@@ -1,5 +1,5 @@
-/* $NetBSD: vnode.h,v 1.14 2018/05/28 21:05:10 chs Exp $ */
+/* $NetBSD: vnode.h,v 1.15 2019/01/12 10:44:36 hannken Exp $ */
/*
* CDDL HEADER START
@@ -277,7 +277,7 @@
int error;
size_t resid;
- ASSERT(rw == UIO_WRITE);
+ ASSERT(rw == UIO_READ || rw == UIO_WRITE);
ASSERT(ioflag == 0);
ASSERT(ulimit == RLIM64_INFINITY);
Home |
Main Index |
Thread Index |
Old Index