forked from luck/tmp_suning_uos_patched
ext4: Add a missing trace hook
Commit f8ec9d6837
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>
This commit is contained in:
parent
0617b83fa2
commit
5a58ec8766
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user