diff options
| author | Craig Rodrigues <rodrigc@FreeBSD.org> | 2005-12-13 02:32:30 +0000 |
|---|---|---|
| committer | Craig Rodrigues <rodrigc@FreeBSD.org> | 2005-12-13 02:32:30 +0000 |
| commit | e497db39e8c13ccf3de57939230c803a9e889bc7 (patch) | |
| tree | 50cf9c794ecac4f291841f675b4e2386744d810d | |
| parent | 22fc836263933a93de6a415b715f4c4d09cdade1 (diff) | |
Notes
| -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 a75600e690cf..66b7a85aad9e 100644 --- a/sys/gnu/fs/xfs/FreeBSD/xfs_freebsd.h +++ b/sys/gnu/fs/xfs/FreeBSD/xfs_freebsd.h @@ -118,20 +118,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) |
