diff options
author | 2013-11-12 14:20:52 +0000 | |
---|---|---|
committer | 2013-11-12 14:20:52 +0000 | |
commit | 470495f1d9229bfcea1d6d2ae8907f43adb03a4e (patch) | |
tree | 19008443cc9684c2004c16da4b4a0e7906adaf24 | |
parent | Use %llu+DL_GETPSIZE() to show partition size. Replace %li+(long) with (diff) | |
download | wireguard-openbsd-470495f1d9229bfcea1d6d2ae8907f43adb03a4e.tar.xz wireguard-openbsd-470495f1d9229bfcea1d6d2ae8907f43adb03a4e.zip |
Tweak comment to explicitly mention that disk blocks are DEV_BSIZE
(a.k.a. 512-bytes) as far as ffs is concerned.
-rw-r--r-- | sys/ufs/ffs/fs.h | 5 |
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) |