mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-22 17:31:58 -05:00
Ext2FS: Put bg_used_dirs_count debug logging behind EXT2_DEBUG
This commit is contained in:
parent
63af67ea01
commit
3f5c934ea6
1 changed files with 1 additions and 1 deletions
|
@ -666,7 +666,7 @@ void Ext2FS::free_inode(Ext2FSInode& inode)
|
|||
if (inode.is_directory()) {
|
||||
auto& bgd = const_cast<ext2_group_desc&>(group_descriptor(group_index_from_inode(inode.index())));
|
||||
--bgd.bg_used_dirs_count;
|
||||
dbgln("Ext2FS[{}]::free_inode(): Decremented bg_used_dirs_count to {} for inode {}", fsid(), bgd.bg_used_dirs_count, inode.index());
|
||||
dbgln_if(EXT2_DEBUG, "Ext2FS[{}]::free_inode(): Decremented bg_used_dirs_count to {} for inode {}", fsid(), bgd.bg_used_dirs_count, inode.index());
|
||||
m_block_group_descriptors_dirty = true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue