mfs - revert part of previous commit; should not have been commited

This commit is contained in:
Ben Gras 2010-06-24 00:32:17 +00:00
parent 762665cec1
commit 491efeead9
2 changed files with 1 additions and 3 deletions

View File

@ -13,7 +13,7 @@ MAN=
BINDIR?= /sbin
INSTALLFLAGS+= -S 128k
DEFAULT_NR_BUFS= 102400
DEFAULT_NR_BUFS= 1024
CPPFLAGS+= -DDEFAULT_NR_BUFS=${DEFAULT_NR_BUFS}
.include <minix.prog.mk>

View File

@ -63,10 +63,8 @@ PUBLIC struct buf *get_block(
if(vmcache_avail < 0) {
/* Test once for the availability of the vm yield block feature. */
if(vm_forgetblock(VM_BLOCKID_NONE) == ENOSYS) {
printf("mfs: no cache\n");
vmcache_avail = 0;
} else {
printf("mfs: cache\n");
vmcache_avail = 1;
}
}