aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux
diff options
context:
space:
mode:
authorMickaël Salaün <mic@linux.microsoft.com>2021-02-08 17:55:02 +0100
committerDmitry Vyukov <dvyukov@google.com>2021-02-08 21:15:07 +0100
commit00abbf4117f13c5e12f2ac79767b8779e02852aa (patch)
tree1bd3ca10d15d9b8efa5699ab422f1ef625fb9ad1 /sys/linux
parent2ce644fcea660c78bc6a3ce7e05079a730743671 (diff)
sys/linux: simplify mount$tmpfs
Simplify and align mount$tmpfs() with other mount variants. Signed-off-by: Mickaël Salaün <mic@linux.microsoft.com>
Diffstat (limited to 'sys/linux')
-rw-r--r--sys/linux/filesystem.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/linux/filesystem.txt b/sys/linux/filesystem.txt
index 28b2b9896..b7debaaaf 100644
--- a/sys/linux/filesystem.txt
+++ b/sys/linux/filesystem.txt
@@ -11,7 +11,7 @@ umount2(path ptr[in, filename], flags flags[umount_flags])
mount$bpf(src const[0], dst ptr[in, filename], type ptr[in, string["bpf"]], flags flags[mount_flags], opts ptr[in, fs_options[bpf_options]])
mount$overlay(src const[0], dst ptr[in, filename], type ptr[in, string["overlay"]], flags flags[mount_flags], opts ptr[in, fs_options[overlay_options]])
mount$binder(src const[0], dst ptr[in, filename], type ptr[in, string["binder"]], flags flags[mount_flags], opts ptr[in, fs_options[binder_options]])
-mount$tmpfs(src ptr[in, string["tmp"]], dst ptr[in, filename], type ptr[in, string["tmpfs"]], flags flags[mount_flags], opts ptr[in, fs_options[tmpfs_options]])
+mount$tmpfs(src const[0], dst ptr[in, filename], type ptr[in, string["tmpfs"]], flags flags[mount_flags], opts ptr[in, fs_options[tmpfs_options]])
# A bind mount ignores the filesystem type argument, but
# pkg/host/syscalls_linux.go:isSupportedFilesystem() requires one in