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 SPEC_MAXOFFSET_T ...
details: https://anonhg.NetBSD.org/src/rev/2964dd5ba21a
branches: trunk
changeset: 331041:2964dd5ba21a
user: joerg <joerg%NetBSD.org@localhost>
date: Mon Jul 28 10:01:23 2014 +0000
description:
SPEC_MAXOFFSET_T doesn't exist anywhere else, so don't use it here
either.
diffstat:
external/cddl/osnet/dist/uts/common/fs/zfs/zvol.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diffs (16 lines):
diff -r faf965a267cd -r 2964dd5ba21a external/cddl/osnet/dist/uts/common/fs/zfs/zvol.c
--- a/external/cddl/osnet/dist/uts/common/fs/zfs/zvol.c Mon Jul 28 08:10:23 2014 +0000
+++ b/external/cddl/osnet/dist/uts/common/fs/zfs/zvol.c Mon Jul 28 10:01:23 2014 +0000
@@ -189,10 +189,12 @@
if (volsize % blocksize != 0)
return (EINVAL);
+#if 0
#ifdef _ILP32
if (volsize - 1 > SPEC_MAXOFFSET_T)
return (EOVERFLOW);
#endif
+#endif
return (0);
}
Home |
Main Index |
Thread Index |
Old Index