mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 20:29:18 +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
Notes:
sideshowbarker
2024-07-17 06:51:48 +09:00
Author: https://github.com/awesomekling
Commit: 9249bcb5aa
Pull-request: https://github.com/SerenityOS/serenity/pull/16231
Reviewed-by: https://github.com/Hendiadyoin1
Reviewed-by: https://github.com/emanuele6
Reviewed-by: https://github.com/fdellwing
Reviewed-by: https://github.com/skyrising
Reviewed-by: https://github.com/supercomputer7
Reviewed-by: https://github.com/timschumi ✅
1 changed files with 0 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue