File system: Let session quota depend on word size

By basing the session quota on sizeof(long), we satisfy server-side
quota demands on 64 bit.

Fixes #619
This commit is contained in:
Norman Feske 2013-01-27 18:31:35 +01:00
parent d76babf260
commit 5d65308e63
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ namespace File_system {
:
Genode::Connection<Session>(
session("ram_quota=%zd, tx_buf_size=%zd, label=\"%s\"",
4*4096 + tx_buf_size, tx_buf_size, label)),
4*1024*sizeof(long) + tx_buf_size, tx_buf_size, label)),
Session_client(cap(), tx_block_alloc) { }
};
}