mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-24 02:09:28 +00:00
Kernel+LibC: Implement fsync
This commit is contained in:
committed by
Andreas Kling
parent
fd3735199b
commit
a81b21c1a7
@@ -107,6 +107,12 @@ KResult InodeFile::truncate(u64 size)
|
||||
return KSuccess;
|
||||
}
|
||||
|
||||
KResult InodeFile::sync()
|
||||
{
|
||||
m_inode->sync();
|
||||
return KSuccess;
|
||||
}
|
||||
|
||||
KResult InodeFile::chown(OpenFileDescription& description, UserID uid, GroupID gid)
|
||||
{
|
||||
VERIFY(description.inode() == m_inode);
|
||||
|
||||
Reference in New Issue
Block a user