summaryrefslogtreecommitdiff
path: root/Kernel/API/Syscall.h
diff options
context:
space:
mode:
authorBrian Gianforcaro <bgianf@serenityos.org>2021-09-15 23:44:07 -0700
committerAndreas Kling <kling@serenityos.org>2021-09-16 17:17:13 +0200
commitbe15bd3c860793a79dbb098fa13f0b98cae80e39 (patch)
tree174fa8b8e8bd728276245f47b58c3ec71ed042bc /Kernel/API/Syscall.h
parentdcb327a83b19a0b40854d6a645eb7f0e2761f1e2 (diff)
downloadserenity-be15bd3c860793a79dbb098fa13f0b98cae80e39.zip
Kernel+LibC: Pack SC_mount_params struct tighter
Flagged by pvs-studio, ordering the members from largest to smallest allows us to save a few bytes in the size of the struct.
Diffstat (limited to 'Kernel/API/Syscall.h')
-rw-r--r--Kernel/API/Syscall.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/API/Syscall.h b/Kernel/API/Syscall.h
index f1ba1199e6..03d5a3ed95 100644
--- a/Kernel/API/Syscall.h
+++ b/Kernel/API/Syscall.h
@@ -426,9 +426,9 @@ struct SC_rename_params {
};
struct SC_mount_params {
- int source_fd;
StringArgument target;
StringArgument fs_type;
+ int source_fd;
int flags;
};