mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 11:38:11 +00:00
Kernel: Get rid of SmapDisabler in sys$fstat()
This commit is contained in:
parent
ddb5c995c6
commit
3803196edb
2 changed files with 7 additions and 4 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue