Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-7]: src/lib/libperfuse Pull up following revision(s) (requested b...
details: https://anonhg.NetBSD.org/src/rev/cd0eecdc902a
branches: netbsd-7
changeset: 798423:cd0eecdc902a
user: martin <martin%NetBSD.org@localhost>
date: Mon Oct 13 19:00:16 2014 +0000
description:
Pull up following revision(s) (requested by manu in ticket #137):
lib/libperfuse/ops.c: revision 1.76
Report allocated bytes on FS correctly, instead of using file size
(which is wrong for sparse files)
diffstat:
lib/libperfuse/ops.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 6415535c51b7 -r cd0eecdc902a lib/libperfuse/ops.c
--- a/lib/libperfuse/ops.c Mon Oct 13 18:57:46 2014 +0000
+++ b/lib/libperfuse/ops.c Mon Oct 13 19:00:16 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ops.c,v 1.66.2.7 2014/10/11 16:25:19 snj Exp $ */
+/* $NetBSD: ops.c,v 1.66.2.8 2014/10/13 19:00:16 martin Exp $ */
/*-
* Copyright (c) 2010-2011 Emmanuel Dreyfus. All rights reserved.
@@ -321,7 +321,7 @@
vap->va_gen = 0;
vap->va_flags = 0;
vap->va_rdev = fa->rdev;
- vap->va_bytes = fa->size;
+ vap->va_bytes = fa->blocks * S_BLKSIZE;
vap->va_filerev = (u_quad_t)PUFFS_VNOVAL;
vap->va_vaflags = 0;
Home |
Main Index |
Thread Index |
Old Index