From 9249bcb5aad13ea7e7c040c766a0a244c61d7487 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Sun, 27 Nov 2022 19:41:25 +0100 Subject: [PATCH] Kernel: Remove unnecessary FIXME in sys$posix_fallocate() This syscall doesn't need to do anything for ENOSPC, as that is already handled by its callees. --- Kernel/Syscalls/fallocate.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/Kernel/Syscalls/fallocate.cpp b/Kernel/Syscalls/fallocate.cpp index 1a46b54d25..820d86301c 100644 --- a/Kernel/Syscalls/fallocate.cpp +++ b/Kernel/Syscalls/fallocate.cpp @@ -51,7 +51,6 @@ ErrorOr Process::sys$posix_fallocate(int fd, Userspace us // truncate instead TRY(file.inode().truncate(checked_size.value())); - // FIXME: ENOSPC: There is not enough space left on the device containing the file referred to by fd. // FIXME: EINTR: A signal was caught during execution. return 0; }