diff options
author | rodrigc <rodrigc@FreeBSD.org> | 2006-06-09 06:40:22 +0000 |
---|---|---|
committer | rodrigc <rodrigc@FreeBSD.org> | 2006-06-09 06:40:22 +0000 |
commit | 33a5aef12f021b46aaff94270a058bbb25ca5539 (patch) | |
tree | 3a539e32ab56fb18c64b3134e43ff90665989191 /sys/gnu | |
parent | 7d6043a7abddf5e64a464e2ff2a3bfaaf4335e9a (diff) | |
download | FreeBSD-src-33a5aef12f021b46aaff94270a058bbb25ca5539.zip FreeBSD-src-33a5aef12f021b46aaff94270a058bbb25ca5539.tar.gz |
Bring back changes in version 1.3 lost in previous commit.
Diffstat (limited to 'sys/gnu')
-rw-r--r-- | sys/gnu/fs/xfs/FreeBSD/xfs_freebsd.h | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/sys/gnu/fs/xfs/FreeBSD/xfs_freebsd.h b/sys/gnu/fs/xfs/FreeBSD/xfs_freebsd.h index 3a8312a..a47c413 100644 --- a/sys/gnu/fs/xfs/FreeBSD/xfs_freebsd.h +++ b/sys/gnu/fs/xfs/FreeBSD/xfs_freebsd.h @@ -116,20 +116,8 @@ #define NBPC PAGE_SIZE /* Number of bytes per click */ #define BPCSHIFT PAGE_SHIFT /* LOG2(NBPC) if exact */ -/* - * Size of block device i/o is parameterized here. - * Currently the system supports page-sized i/o. - */ -#define BLKDEV_IOSHIFT BPCSHIFT -#ifndef BLKDEV_IOSIZE -#define BLKDEV_IOSIZE (1<<BLKDEV_IOSHIFT) -#else -# if NBPC != BLKDEV_IOSIZE -# error Wrong BLKDEV_IOSIZE -# endif -#endif /* number of BB's per block device block */ -#define BLKDEV_BB BTOBB(BLKDEV_IOSIZE) +#define BLKDEV_BB BTOBB(BLKDEV_IOSIZE) /* bytes to clicks */ #define btoct(x) ((__psunsigned_t)(x)>>BPCSHIFT) |