diff options
Diffstat (limited to 'Kernel/FileSystem/OpenFileDescription.cpp')
-rw-r--r-- | Kernel/FileSystem/OpenFileDescription.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Kernel/FileSystem/OpenFileDescription.cpp b/Kernel/FileSystem/OpenFileDescription.cpp index f4381c7dce..4f19e4c502 100644 --- a/Kernel/FileSystem/OpenFileDescription.cpp +++ b/Kernel/FileSystem/OpenFileDescription.cpp @@ -445,12 +445,12 @@ FileBlockerSet& OpenFileDescription::blocker_set() return m_file->blocker_set(); } -ErrorOr<void> OpenFileDescription::apply_flock(Process const& process, Userspace<flock const*> lock) +ErrorOr<void> OpenFileDescription::apply_flock(Process const& process, Userspace<flock const*> lock, ShouldBlock should_block) { if (!m_inode) return EBADF; - return m_inode->apply_flock(process, *this, lock); + return m_inode->apply_flock(process, *this, lock, should_block); } ErrorOr<void> OpenFileDescription::get_flock(Userspace<flock*> lock) const |