From 00abbf4117f13c5e12f2ac79767b8779e02852aa Mon Sep 17 00:00:00 2001 From: Mickaël Salaün Date: Mon, 8 Feb 2021 17:55:02 +0100 Subject: sys/linux: simplify mount$tmpfs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Simplify and align mount$tmpfs() with other mount variants. Signed-off-by: Mickaël Salaün --- sys/linux/filesystem.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/linux') 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 -- cgit mrf-deployment