mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-25 18:52:22 -05:00
Kernel/VFS: Silence mknod debug spam
Since we populate the DevFS now in userspace, this creates a bunch of unnecessary noise in the kernel log.
This commit is contained in:
parent
e0d712c6f7
commit
4f04cb98c1
Notes:
sideshowbarker
2024-07-18 04:29:08 +09:00
Author: https://github.com/supercomputer7 Commit: https://github.com/SerenityOS/serenity/commit/4f04cb98c12 Pull-request: https://github.com/SerenityOS/serenity/pull/9399
1 changed files with 1 additions and 1 deletions
|
@ -316,7 +316,7 @@ KResult VirtualFileSystem::mknod(StringView path, mode_t mode, dev_t dev, Custod
|
|||
return EROFS;
|
||||
|
||||
auto basename = KLexicalPath::basename(path);
|
||||
dbgln("VirtualFileSystem::mknod: '{}' mode={} dev={} in {}", basename, mode, dev, parent_inode.identifier());
|
||||
dbgln_if(VFS_DEBUG, "VirtualFileSystem::mknod: '{}' mode={} dev={} in {}", basename, mode, dev, parent_inode.identifier());
|
||||
return parent_inode.create_child(basename, mode, dev, current_process.euid(), current_process.egid()).result();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue