mirror of
https://github.com/SerenityOS/serenity
synced 2024-10-07 00:19:27 +00:00
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.
This commit is contained in:
parent
361897192c
commit
9249bcb5aa
|
@ -51,7 +51,6 @@ ErrorOr<FlatPtr> Process::sys$posix_fallocate(int fd, Userspace<off_t const*> 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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue