Skip to content

Commit f217a58

Browse files
author
Ben Hillis
committed
update mount options to match 6.18 expected format
1 parent 09c5e02 commit f217a58

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

test/linux/unit_tests/lxtfs.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ Return Value:
285285
snprintf(
286286
Plan9Options,
287287
sizeof(Plan9Options),
288-
"aname=drvfs;path=%s%s;symlinkroot=/mnt/,cache=5,access=client,msize=262144,trans=virtio",
288+
"aname=drvfs;path=%s%s;symlinkroot=/mnt/,cache=0x5,access=client,msize=262144,trans=virtio",
289289
Plan9Source,
290290
Temp);
291291
}
@@ -294,7 +294,7 @@ Return Value:
294294
snprintf(
295295
Plan9Options,
296296
sizeof(Plan9Options),
297-
"aname=drvfs;path=%s%s;symlinkroot=/mnt/,cache=5,access=client,msize=65536,trans=fd,rfd=*,wfd=*",
297+
"aname=drvfs;path=%s%s;symlinkroot=/mnt/,cache=0x5,access=client,msize=65536,trans=fd,rfd=*,wfd=*",
298298
Plan9Source,
299299
Temp);
300300
}

test/windows/UnitTests.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1774,7 +1774,7 @@ Error code: Wsl/InstallDistro/WSL_E_DISTRO_NOT_FOUND
17741774
VERIFY_ARE_EQUAL(
17751775
LxsstuLaunchWsl(
17761776
L"mount | grep -iF '" TEXT(
1777-
LXSS_GPU_DRIVERS_SHARE) L" on /usr/lib/wsl/drivers type 9p (ro,nosuid,nodev,noatime,aname=" TEXT(LXSS_GPU_DRIVERS_SHARE) L";fmask=222;dmask=222,cache=5,access=client,msize=65536,trans=fd,rfd=8,wfd=8)'",
1777+
LXSS_GPU_DRIVERS_SHARE) L" on /usr/lib/wsl/drivers type 9p (ro,nosuid,nodev,noatime,aname=" TEXT(LXSS_GPU_DRIVERS_SHARE) L";fmask=222;dmask=222,cache=0x5,access=client,msize=65536,trans=fd,rfd=8,wfd=8)'",
17781778
nullptr,
17791779
nullptr,
17801780
nullptr,

0 commit comments

Comments
 (0)