summaryrefslogtreecommitdiff
path: root/sys/ufs/ffs
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2013-11-12 14:20:53 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2013-11-12 14:20:53 +0000
commit0036192e5d3827fece99d6b7cb4e765c0aeb9859 (patch)
tree00f8b10fb2c808d1e39286803f06decb76e85054 /sys/ufs/ffs
parent1c7f7af61b829c6c05786b31c499187bf703c183 (diff)
Tweak comment to explicitly mention that disk blocks are DEV_BSIZE
(a.k.a. 512-bytes) as far as ffs is concerned.
Diffstat (limited to 'sys/ufs/ffs')
-rw-r--r--sys/ufs/ffs/fs.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/ufs/ffs/fs.h b/sys/ufs/ffs/fs.h
index b9bbc601009..95e44832df1 100644
--- a/sys/ufs/ffs/fs.h
+++ b/sys/ufs/ffs/fs.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: fs.h,v 1.38 2013/06/18 21:06:03 miod Exp $ */
+/* $OpenBSD: fs.h,v 1.39 2013/11/12 14:20:52 krw Exp $ */
/* $NetBSD: fs.h,v 1.6 1995/04/12 21:21:02 mycroft Exp $ */
/*
@@ -454,7 +454,8 @@ struct ocg {
/*
* Turn file system block numbers into disk block addresses.
- * This maps file system blocks to device size blocks.
+ * This maps file system blocks to DEV_BSIZE (a.k.a. 512-byte) size disk
+ * blocks.
*/
#define fsbtodb(fs, b) ((b) << (fs)->fs_fsbtodb)
#define dbtofsb(fs, b) ((b) >> (fs)->fs_fsbtodb)