commit | fb40ba0d98968bc3454731360363d725b4f1064c | [log] [tgz] |
---|---|---|
author | Theodore Ts'o <tytso@mit.edu> | Wed Sep 16 19:30:40 2009 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Wed Sep 16 19:30:40 2009 -0400 |
tree | 08e8bb15b49bc6310e4c41653889e055d9594d9a | |
parent | 1b9c12f44c1eb614fd3b8822bfe8f1f5d8e53737 [diff] [blame] |
ext4: Add a tracepoint for ext4_alloc_da_blocks() Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
diff --git a/fs/ext4/inode.c b/fs/ext4/inode.c index a5b4ce4..9887a0c 100644 --- a/fs/ext4/inode.c +++ b/fs/ext4/inode.c
@@ -3128,6 +3128,8 @@ */ 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;