Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/sys all fsblkcnt_t's are in frsize units



details:   https://anonhg.NetBSD.org/src/rev/9cc411549436
branches:  trunk
changeset: 785900:9cc411549436
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Apr 05 17:34:27 2013 +0000

description:
all fsblkcnt_t's are in frsize units

diffstat:

 sys/sys/statvfs.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 9a8d36740906 -r 9cc411549436 sys/sys/statvfs.h
--- a/sys/sys/statvfs.h Fri Apr 05 17:33:06 2013 +0000
+++ b/sys/sys/statvfs.h Fri Apr 05 17:34:27 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: statvfs.h,v 1.17 2011/11/18 21:17:45 christos Exp $     */
+/*     $NetBSD: statvfs.h,v 1.18 2013/04/05 17:34:27 christos Exp $     */
 
 /*-
  * Copyright (c) 2004 The NetBSD Foundation, Inc.
@@ -69,8 +69,8 @@
        unsigned long   f_frsize;       /* fundamental file system block size */
        unsigned long   f_iosize;       /* optimal file system block size */
 
+       /* The following are in units of f_frsize */
        fsblkcnt_t      f_blocks;       /* number of blocks in file system, */
-                                       /*   (in units of f_frsize) */
        fsblkcnt_t      f_bfree;        /* free blocks avail in file system */
        fsblkcnt_t      f_bavail;       /* free blocks avail to non-root */
        fsblkcnt_t      f_bresvd;       /* blocks reserved for root */



Home | Main Index | Thread Index | Old Index