ext4: Add a missing trace hook
authorLi Zefan <lizf@cn.fujitsu.com>
Mon, 17 May 2010 06:00:00 +0000 (02:00 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 17 May 2010 06:00:00 +0000 (02:00 -0400)
Commit f8ec9d6837241865cf99bed97bb99f4399fd5a03 added a
trace event ext4_da_release_space, but didn't add some
corresponding trace hook.

Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/inode.c

index c2b0724e8ad668ae6ef478b7eec4455f32ea1404..8e45331b65601ae572c968853065f68ba10d3a93 100644 (file)
@@ -1893,6 +1893,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