Skip to contentSkip to conversation

ext4: Add a missing trace hook

PATCH In review Li Zefan 2 participants 2 messages May 24, 2010 – May 25, 2010 ext4 file system

lore
Share & tools
lore

Li Zefan

author
#0 lore raw

PATCH 1/1 ext4: Add a missing trace hook

Commit f8ec9d6837241865cf99bed97bb99f4399fd5a03 added a trace event ext4_da_release_space, but didn't add some corresponding trace hook.

---
 fs/ext4/inode.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
fs/ext4/inode.c +1 -0
index 81d6054..b71f883 100644
@@ -1910,6 +1910,7 @@ static void ext4_da_release_space(struct inode *inode, int to_free)
 
 	spin_lock(&EXT4_I(inode)->i_block_reservation_lock);
 
+	trace_ext4_da_release_space(inode, to_free);
 	if (unlikely(to_free > ei->i_reserved_data_blocks)) {
 		/*
 		 * if there aren't enough reserved blocks, then the
Signature · 1 line
1.6.3
#1 lore raw
Quoted 5 lines · Li Zefan

Commit f8ec9d6837241865cf99bed97bb99f4399fd5a03 added a trace event ext4_da_release_space, but didn't add some corresponding trace hook.

Thanks for pointing this out, added to the ext4 tree.

- Ted