mirror of
https://github.com/opnsense/src.git
synced 2026-04-29 10:11:09 -04:00
Remove #define for BBOFF, it is assumed == 0 so many places that we might
as well forget about it. In fact the only thing which used it was the SBOFF macro. Sponsored by: DARPA & NAI Labs.
This commit is contained in:
parent
16910634dd
commit
7cb71b749c
3 changed files with 3 additions and 6 deletions
|
|
@ -57,8 +57,7 @@
|
|||
*/
|
||||
#define BBSIZE 1024
|
||||
#define SBSIZE 1024
|
||||
#define BBOFF ((off_t)(0))
|
||||
#define SBOFF ((off_t)(BBOFF + BBSIZE))
|
||||
#define SBOFF ((off_t)(BBSIZE))
|
||||
|
||||
/*
|
||||
* The path name on which the file system is mounted is maintained
|
||||
|
|
|
|||
|
|
@ -57,8 +57,7 @@
|
|||
*/
|
||||
#define BBSIZE 1024
|
||||
#define SBSIZE 1024
|
||||
#define BBOFF ((off_t)(0))
|
||||
#define SBOFF ((off_t)(BBOFF + BBSIZE))
|
||||
#define SBOFF ((off_t)(BBSIZE))
|
||||
|
||||
/*
|
||||
* The path name on which the file system is mounted is maintained
|
||||
|
|
|
|||
|
|
@ -63,8 +63,7 @@
|
|||
*/
|
||||
#define BBSIZE 8192
|
||||
#define SBSIZE 8192
|
||||
#define BBOFF ((off_t)(0))
|
||||
#define SBOFF ((off_t)(BBOFF + BBSIZE))
|
||||
#define SBOFF ((off_t)(BBSIZE))
|
||||
|
||||
/* Max number of fragments per block, this is not tweakable */
|
||||
#define MAXFRAG 8
|
||||
|
|
|
|||
Loading…
Reference in a new issue