Move the FFS parameter MAXFRAG from <sys/param.h> to <ufs/ffs/fs.h>

Sponsored by:	DARPA & NAI Labs.
This commit is contained in:
Poul-Henning Kamp 2002-04-03 20:39:27 +00:00
parent c677a10e48
commit a463023d6d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=93736
3 changed files with 3 additions and 1 deletions

View File

@ -153,7 +153,6 @@
#define MAXBSIZE 65536 /* must be power of 2 */
#define BKVASIZE 16384 /* must be power of 2 */
#define BKVAMASK (BKVASIZE-1)
#define MAXFRAG 8
/*
* MAXPATHLEN defines the longest permissible path length after expanding

View File

@ -35,6 +35,7 @@
*/
#include <sys/param.h>
#include <ufs/ffs/fs.h>
/*
* Bit patterns for identifying fragments in the block map

View File

@ -68,6 +68,8 @@
#define BBLOCK ((ufs_daddr_t)(0))
#define SBLOCK ((ufs_daddr_t)(BBLOCK + BBSIZE / DEV_BSIZE))
/* Max number of fragments per block, this is not tweakable */
#define MAXFRAG 8
/*
* Addresses stored in inodes are capable of addressing fragments
* of `blocks'. File system blocks of at most size MAXBSIZE can