mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-03 21:12:08 +02: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:
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
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user