summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorLi Zefan <lizf@cn.fujitsu.com>2010-05-17 02:00:00 -0400
committerTheodore Ts'o <tytso@mit.edu>2010-05-17 02:00:00 -0400
commit5a58ec8766e0ce98fd585eb404b3e56935afafe6 (patch)
tree191f9457a05ffe7803712f62d40d848d58987765 /fs
parent0617b83fa239db9743a18ce6cc0e556f4d0fd567 (diff)
downloadlinux-stable-5a58ec8766e0ce98fd585eb404b3e56935afafe6.tar.gz
linux-stable-5a58ec8766e0ce98fd585eb404b3e56935afafe6.tar.bz2
linux-stable-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')
-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