mfs - revert part of previous commit; should not have been commited
This commit is contained in:
parent
762665cec1
commit
491efeead9
@ -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>
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user