Subject: CVS commit: src/sys/ufs/ffs
To: None <source-changes@NetBSD.org>
From: Darrin B. Jewell <dbj@netbsd.org>
List: source-changes
Date: 12/02/2003 04:40:43
Module Name: src
Committed By: dbj
Date: Tue Dec 2 04:40:43 UTC 2003
Modified Files:
src/sys/ufs/ffs: ffs_subr.c
Log Message:
clarify comments, especially since ffs_isfreeblock is non-intuitive:
ffs_isblock:
check if a block is available
returns true if all the correponding bits in the free map are 1
returns false if any corresponding bit in the free map is 0
ffs_isfreeblock:
check if a block is completely allocated
returns true if all the corresponding bits in the free map are 0
returns false if any corresponding bit in the free map is 1
To generate a diff of this commit:
cvs rdiff -r1.30 -r1.31 src/sys/ufs/ffs/ffs_subr.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.