summaryrefslogtreecommitdiff
path: root/Kernel
diff options
context:
space:
mode:
authorLiav A <liavalb@gmail.com>2021-08-14 07:11:30 +0300
committerAndreas Kling <kling@serenityos.org>2021-09-08 00:42:20 +0200
commit4f04cb98c1281ca7658ab60569898a5f83afc7b7 (patch)
treef1d930b05bff1a7369537dd43086c4395d27e97b /Kernel
parente0d712c6f7525f0872e161ab6f22bb31b49b49ec (diff)
downloadserenity-4f04cb98c1281ca7658ab60569898a5f83afc7b7.zip
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.
Diffstat (limited to 'Kernel')
-rw-r--r--Kernel/FileSystem/VirtualFileSystem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/FileSystem/VirtualFileSystem.cpp b/Kernel/FileSystem/VirtualFileSystem.cpp
index a019e15703..41a3c5050a 100644
--- a/Kernel/FileSystem/VirtualFileSystem.cpp
+++ b/Kernel/FileSystem/VirtualFileSystem.cpp
@@ -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();
}