Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/cddl/osnet/dist/uts/common/fs/zfs uint64_t can't be...
details: https://anonhg.NetBSD.org/src/rev/61a268ccb5f2
branches: trunk
changeset: 343873:61a268ccb5f2
user: riastradh <riastradh%NetBSD.org@localhost>
date: Mon Feb 29 16:19:20 2016 +0000
description:
uint64_t can't be negative.
diffstat:
external/cddl/osnet/dist/uts/common/fs/zfs/zvol.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 941480af0243 -r 61a268ccb5f2 external/cddl/osnet/dist/uts/common/fs/zfs/zvol.c
--- a/external/cddl/osnet/dist/uts/common/fs/zfs/zvol.c Mon Feb 29 16:18:37 2016 +0000
+++ b/external/cddl/osnet/dist/uts/common/fs/zfs/zvol.c Mon Feb 29 16:19:20 2016 +0000
@@ -1246,7 +1246,7 @@
addr = bp->b_data;
resid = bp->b_bcount;
- if (resid > 0 && (off < 0 || off >= volsize)) {
+ if (resid > 0 && off >= volsize) {
bioerror(bp, EIO);
biodone(bp);
return;
Home |
Main Index |
Thread Index |
Old Index