Module Name: src Committed By: christos Date: Fri Apr 5 17:34:28 UTC 2013
Modified Files: src/sys/sys: statvfs.h Log Message: all fsblkcnt_t's are in frsize units To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 src/sys/sys/statvfs.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/sys/statvfs.h diff -u src/sys/sys/statvfs.h:1.17 src/sys/sys/statvfs.h:1.18 --- src/sys/sys/statvfs.h:1.17 Fri Nov 18 16:17:45 2011 +++ src/sys/sys/statvfs.h Fri Apr 5 13:34:27 2013 @@ -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 @@ struct statvfs { 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 */