Skip to content

Commit

Permalink
ext4: Add a missing trace hook
Browse files Browse the repository at this point in the history
Commit f8ec9d6 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>
  • Loading branch information
Li Zefan authored and Theodore Ts'o committed May 17, 2010
1 parent 0617b83 commit 5a58ec8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fs/ext4/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5a58ec8

Please sign in to comment.