aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4
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/ext4
parent0617b83fa239db9743a18ce6cc0e556f4d0fd567 (diff)
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')
-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)
1893 1893
1894 spin_lock(&EXT4_I(inode)->i_block_reservation_lock); 1894 spin_lock(&EXT4_I(inode)->i_block_reservation_lock);
1895 1895
1896 trace_ext4_da_release_space(inode, to_free);
1896 if (unlikely(to_free > ei->i_reserved_data_blocks)) { 1897 if (unlikely(to_free > ei->i_reserved_data_blocks)) {
1897 /* 1898 /*
1898 * if there aren't enough reserved blocks, then the 1899 * if there aren't enough reserved blocks, then the