summaryrefslogtreecommitdiffstats
path: root/fs/ext4/inode.c
diff options
context:
space:
mode:
authorLi Zefan <lizf@cn.fujitsu.com>2010-05-17 08:00:00 +0200
committerTheodore Ts'o <tytso@mit.edu>2010-05-17 08:00:00 +0200
commit5a58ec8766e0ce98fd585eb404b3e56935afafe6 (patch)
tree191f9457a05ffe7803712f62d40d848d58987765 /fs/ext4/inode.c
parentext4: restart ext4_ext_remove_space() after transaction restart (diff)
downloadlinux-5a58ec8766e0ce98fd585eb404b3e56935afafe6.tar.xz
linux-5a58ec8766e0ce98fd585eb404b3e56935afafe6.zip
ext4: Add a missing trace hook
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>
Diffstat (limited to 'fs/ext4/inode.c')
-rw-r--r--fs/ext4/inode.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ext4/inode.c b/fs/ext4/inode.c
index c2b0724e8ad6..8e45331b6560 100644
--- a/fs/ext4/inode.c
+++ b/fs/ext4/inode.c
@@ -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