mirror of
https://github.com/RGBCube/serenity
synced 2025-05-16 20:05:07 +00:00
Kernel: Make Inode::set_{a,c,m}time return KResult
This exposed some missing error propagation, which this patch also takes care of.
This commit is contained in:
parent
a5f385f052
commit
cd9be1733c
8 changed files with 42 additions and 44 deletions
|
@ -117,19 +117,19 @@ void Inode::will_be_destroyed()
|
|||
flush_metadata();
|
||||
}
|
||||
|
||||
int Inode::set_atime(time_t)
|
||||
KResult Inode::set_atime(time_t)
|
||||
{
|
||||
return -ENOTIMPL;
|
||||
return ENOTIMPL;
|
||||
}
|
||||
|
||||
int Inode::set_ctime(time_t)
|
||||
KResult Inode::set_ctime(time_t)
|
||||
{
|
||||
return -ENOTIMPL;
|
||||
return ENOTIMPL;
|
||||
}
|
||||
|
||||
int Inode::set_mtime(time_t)
|
||||
KResult Inode::set_mtime(time_t)
|
||||
{
|
||||
return -ENOTIMPL;
|
||||
return ENOTIMPL;
|
||||
}
|
||||
|
||||
KResult Inode::increment_link_count()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue