summaryrefslogtreecommitdiffstats
path: root/fs/ext4
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2009-09-16 19:30:40 -0400
committerTheodore Ts'o <tytso@mit.edu>2009-09-16 19:30:40 -0400
commitfb40ba0d98968bc3454731360363d725b4f1064c (patch)
tree08e8bb15b49bc6310e4c41653889e055d9594d9a /fs/ext4
parent1b9c12f44c1eb614fd3b8822bfe8f1f5d8e53737 (diff)
downloadlinux-stable-fb40ba0d98968bc3454731360363d725b4f1064c.tar.gz
linux-stable-fb40ba0d98968bc3454731360363d725b4f1064c.tar.bz2
linux-stable-fb40ba0d98968bc3454731360363d725b4f1064c.zip
ext4: Add a tracepoint for ext4_alloc_da_blocks()
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ext4')
-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;