mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-03 23:25:20 +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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user