mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 15:27:29 +00:00
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
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue