pfs, vfs: increase various limits

. pipes in pfs
	. vnodes in vfs
	. thread stack sizes in vfs

Change-Id: Ib27dedd42f57a90821a5b950cd7ea25cb2b42f3f
This commit is contained in:
Ben Gras
2013-05-31 15:42:00 +00:00
parent 33a7ac7557
commit f369157d95
8 changed files with 12 additions and 12 deletions
+2 -2
View File
@@ -81,7 +81,7 @@ void init_inode_cache()
LIST_INIT(rlp);
/* add free inodes to unused/free list */
for (rip = &inode[0]; rip < &inode[NR_INODES]; ++rip) {
for (rip = &inode[0]; rip < &inode[PFS_NR_INODES]; ++rip) {
rip->i_num = NO_ENTRY;
TAILQ_INSERT_HEAD(&unused_inodes, rip, i_unused);
}
@@ -309,7 +309,7 @@ struct inode *rip;
bit_t b;
if (rip->i_num <= (ino_t) 0 || rip->i_num >= (ino_t) NR_INODES) return;
if (rip->i_num <= (ino_t) 0 || rip->i_num >= (ino_t) PFS_NR_INODES) return;
b = (bit_t) rip->i_num;
free_bit(b);
}