Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5a58ec87 authored by Li Zefan's avatar Li Zefan Committed by Theodore Ts'o
Browse files

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: default avatarLi Zefan <lizf@cn.fujitsu.com>
Signed-off-by: default avatar"Theodore Ts'o" <tytso@mit.edu>
parent 0617b83f
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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