提交 5a58ec87 编写于 作者: L Li Zefan 提交者: Theodore Ts'o

ext4: Add a missing trace hook

Commit f8ec9d68 added a
trace event ext4_da_release_space, but didn't add some
corresponding trace hook.
Signed-off-by: NLi Zefan <lizf@cn.fujitsu.com>
Signed-off-by: N"Theodore Ts'o" <tytso@mit.edu>
上级 0617b83f
...@@ -1893,6 +1893,7 @@ static void ext4_da_release_space(struct inode *inode, int to_free) ...@@ -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); 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 (unlikely(to_free > ei->i_reserved_data_blocks)) {
/* /*
* if there aren't enough reserved blocks, then the * if there aren't enough reserved blocks, then the
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册