mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-08-03 07:55:17 +00:00
Merge pull request #479 from simonferquel/large-config-value-over-hyperv
Fix an issue with DB values over 4k when 9p database is accessed trou…
This commit is contained in:
commit
9b5cb8d02b
@ -35,7 +35,7 @@ void fatal(const char *msg)
|
|||||||
static int handle(int fd, char *tag, char *path)
|
static int handle(int fd, char *tag, char *path)
|
||||||
{
|
{
|
||||||
char *options = NULL;
|
char *options = NULL;
|
||||||
if (asprintf(&options, "trans=fd,dfltuid=1001,dfltgid=50,version=9p2000,rfdno=%d,wfdno=%d", fd, fd) < 0){
|
if (asprintf(&options, "trans=fd,dfltuid=1001,dfltgid=50,version=9p2000,msize=4096,rfdno=%d,wfdno=%d", fd, fd) < 0){
|
||||||
fatal("asprintf()");
|
fatal("asprintf()");
|
||||||
}
|
}
|
||||||
char *argv[] = {
|
char *argv[] = {
|
||||||
|
Loading…
Reference in New Issue
Block a user