summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk@kernel.org>2015-12-16 03:07:14 +0300
committerJaegeuk Kim <jaegeuk@kernel.org>2015-12-16 19:58:06 +0300
commit55d1cdb25a815ba92a917ae579c27cc3ffb9a57d (patch)
tree38327d992cc8ad5386a556136af928ff36c4c523
parente8240f656d4d5d718ce8cf6b4ea266d6719ef547 (diff)
downloadlinux-55d1cdb25a815ba92a917ae579c27cc3ffb9a57d.tar.xz
f2fs: relocate tracepoint of write_checkpoint
It needs to relocate its location to see exact trace logs. Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
-rw-r--r--fs/f2fs/checkpoint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/checkpoint.c b/fs/f2fs/checkpoint.c
index a4392f06f733..5008b872f316 100644
--- a/fs/f2fs/checkpoint.c
+++ b/fs/f2fs/checkpoint.c
@@ -1130,9 +1130,9 @@ void write_checkpoint(struct f2fs_sb_info *sbi, struct cp_control *cpc)
/* do checkpoint periodically */
sbi->cp_expires = round_jiffies_up(jiffies + HZ * sbi->cp_interval);
+ trace_f2fs_write_checkpoint(sbi->sb, cpc->reason, "finish checkpoint");
out:
mutex_unlock(&sbi->cp_mutex);
- trace_f2fs_write_checkpoint(sbi->sb, cpc->reason, "finish checkpoint");
}
void init_ino_entry_info(struct f2fs_sb_info *sbi)