aboutsummaryrefslogtreecommitdiffstats
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)
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:
3128 */ 3128 */
3129int ext4_alloc_da_blocks(struct inode *inode) 3129int ext4_alloc_da_blocks(struct inode *inode)
3130{ 3130{
3131 trace_ext4_alloc_da_blocks(inode);
3132
3131 if (!EXT4_I(inode)->i_reserved_data_blocks && 3133 if (!EXT4_I(inode)->i_reserved_data_blocks &&
3132 !EXT4_I(inode)->i_reserved_meta_blocks) 3134 !EXT4_I(inode)->i_reserved_meta_blocks)
3133 return 0; 3135 return 0;