summaryrefslogtreecommitdiff
path: root/Kernel/VM/VMObject.cpp
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-05-04 21:15:59 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-05-04 21:15:59 +0200
commit6228503c16a78dc70d5ff22f229ce18d4d567af6 (patch)
tree07acf023bb3dd95a7bf8c84e00ced9b2c29f8374 /Kernel/VM/VMObject.cpp
parent932836e3c79fd321029fc71bf3e5d647eeec1b9f (diff)
downloadserenity-6228503c16a78dc70d5ff22f229ce18d4d567af6.zip
Kernel: Add a bit of logging in VMObject::inode_size_changed().
Diffstat (limited to 'Kernel/VM/VMObject.cpp')
-rw-r--r--Kernel/VM/VMObject.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/Kernel/VM/VMObject.cpp b/Kernel/VM/VMObject.cpp
index 72a193ce05..6a772776b7 100644
--- a/Kernel/VM/VMObject.cpp
+++ b/Kernel/VM/VMObject.cpp
@@ -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)old_size;
+ dbgprintf("VMObject::inode_size_changed: {%u:%u} %u -> %u\n",
+ m_inode->fsid(), m_inode->index(),
+ old_size, new_size);
+
InterruptDisabler disabler;
size_t old_page_count = page_count();