mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-26 03:12:07 -05:00
Kernel: Add a bit of logging in VMObject::inode_size_changed().
This commit is contained in:
parent
932836e3c7
commit
6228503c16
1 changed files with 4 additions and 1 deletions
|
@ -88,7 +88,10 @@ void VMObject::for_each_region(Callback callback)
|
||||||
|
|
||||||
void VMObject::inode_size_changed(Badge<Inode>, size_t old_size, size_t new_size)
|
void VMObject::inode_size_changed(Badge<Inode>, size_t old_size, size_t new_size)
|
||||||
{
|
{
|
||||||
(void)old_size;
|
dbgprintf("VMObject::inode_size_changed: {%u:%u} %u -> %u\n",
|
||||||
|
m_inode->fsid(), m_inode->index(),
|
||||||
|
old_size, new_size);
|
||||||
|
|
||||||
InterruptDisabler disabler;
|
InterruptDisabler disabler;
|
||||||
|
|
||||||
size_t old_page_count = page_count();
|
size_t old_page_count = page_count();
|
||||||
|
|
Loading…
Add table
Reference in a new issue