Kernel: Get rid of SmapDisabler in sys$fstat()

This commit is contained in:
Andreas Kling 2020-03-10 13:34:24 +01:00
commit 3803196edb
Notes: sideshowbarker 2024-07-19 08:47:16 +09:00
2 changed files with 7 additions and 4 deletions

View file

@ -76,7 +76,6 @@ FileDescription::~FileDescription()
KResult FileDescription::fstat(stat& buffer)
{
SmapDisabler disabler;
if (is_fifo()) {
memset(&buffer, 0, sizeof(buffer));
buffer.st_mode = 001000;