summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2009-09-17 01:30:40 +0200
committerTheodore Ts'o <tytso@mit.edu>2009-09-17 01:30:40 +0200
commitfb40ba0d98968bc3454731360363d725b4f1064c (patch)
tree08e8bb15b49bc6310e4c41653889e055d9594d9a /fs
parentext4: store EXT4_EXT_MIGRATE in i_state instead of i_flags (diff)
downloadlinux-fb40ba0d98968bc3454731360363d725b4f1064c.tar.xz
linux-fb40ba0d98968bc3454731360363d725b4f1064c.zip
ext4: Add a tracepoint for ext4_alloc_da_blocks()
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs')
-rw-r--r--fs/ext4/inode.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/ext4/inode.c b/fs/ext4/inode.c
index a5b4ce40cc66..9887a0c562d5 100644
--- a/fs/ext4/inode.c
+++ b/fs/ext4/inode.c
@@ -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;