mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
ext4: Add a tracepoint for ext4_alloc_da_blocks()
Signed-off-by: "Theodore Ts'o" <[email protected]>
This commit is contained in:
parent
1b9c12f44c
commit
fb40ba0d98
2 changed files with 29 additions and 0 deletions
|
|
@ -3128,6 +3128,8 @@ out:
|
|||
*/
|
||||
int ext4_alloc_da_blocks(struct inode *inode)
|
||||
{
|
||||
trace_ext4_alloc_da_blocks(inode);
|
||||
|
||||
if (!EXT4_I(inode)->i_reserved_data_blocks &&
|
||||
!EXT4_I(inode)->i_reserved_meta_blocks)
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue