diff options
author | Liav A <liavalb@gmail.com> | 2021-08-14 07:11:30 +0300 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-09-08 00:42:20 +0200 |
commit | 4f04cb98c1281ca7658ab60569898a5f83afc7b7 (patch) | |
tree | f1d930b05bff1a7369537dd43086c4395d27e97b /Kernel | |
parent | e0d712c6f7525f0872e161ab6f22bb31b49b49ec (diff) | |
download | serenity-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.cpp | 2 |
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(); } |