summaryrefslogtreecommitdiffstats
path: root/fs/ext4/super.c
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2011-07-10 22:37:50 -0400
committerTheodore Ts'o <tytso@mit.edu>2011-07-10 22:37:50 -0400
commit12706394bcaa48e3d5e19c97d7b4e5683ebb12fb (patch)
treed2a9effccf0162de6b783cf40fadd0f27c1bd22e /fs/ext4/super.c
parent4862fd6047ed02e2726667c54d35f538eecc56aa (diff)
downloadop-kernel-dev-12706394bcaa48e3d5e19c97d7b4e5683ebb12fb.zip
op-kernel-dev-12706394bcaa48e3d5e19c97d7b4e5683ebb12fb.tar.gz
ext4: add tracepoint for ext4_journal_start
This will help debug who is responsible for starting a jbd2 transaction. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/super.c')
-rw-r--r--fs/ext4/super.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ext4/super.c b/fs/ext4/super.c
index 9ea71aa..7910e61 100644
--- a/fs/ext4/super.c
+++ b/fs/ext4/super.c
@@ -269,6 +269,7 @@ handle_t *ext4_journal_start_sb(struct super_block *sb, int nblocks)
journal_t *journal;
handle_t *handle;
+ trace_ext4_journal_start(sb, nblocks, _RET_IP_);
if (sb->s_flags & MS_RDONLY)
return ERR_PTR(-EROFS);
OpenPOWER on IntegriCloud