aboutsummaryrefslogtreecommitdiffstats
path: root/fs
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
parent4862fd6047ed02e2726667c54d35f538eecc56aa (diff)
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')
-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 9ea71aa864b3..7910e61809e7 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)
269 journal_t *journal; 269 journal_t *journal;
270 handle_t *handle; 270 handle_t *handle;
271 271
272 trace_ext4_journal_start(sb, nblocks, _RET_IP_);
272 if (sb->s_flags & MS_RDONLY) 273 if (sb->s_flags & MS_RDONLY)
273 return ERR_PTR(-EROFS); 274 return ERR_PTR(-EROFS);
274 275