summaryrefslogtreecommitdiff
path: root/fs/ext4/file.c
diff options
context:
space:
mode:
authorliang xie <xieliang007@gmail.com>2014-05-12 22:06:43 -0400
committerTheodore Ts'o <tytso@mit.edu>2014-05-12 22:06:43 -0400
commit5d60125530b0122f5a0a57481f3064a6250365dd (patch)
treeec782bb0e4e6a3828b8d2cf7f426700ad069ea2c /fs/ext4/file.c
parentc8b459f492cbe8be26d8eac0489ef627ed355947 (diff)
ext4: add missing BUFFER_TRACE before ext4_journal_get_write_access
Make them more consistently Signed-off-by: xieliang <xieliang@xiaomi.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/file.c')
-rw-r--r--fs/ext4/file.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ext4/file.c b/fs/ext4/file.c
index 2389c4e71bf8..4e8bc284ec0e 100644
--- a/fs/ext4/file.c
+++ b/fs/ext4/file.c
@@ -244,6 +244,7 @@ static int ext4_file_open(struct inode * inode, struct file * filp)
handle = ext4_journal_start_sb(sb, EXT4_HT_MISC, 1);
if (IS_ERR(handle))
return PTR_ERR(handle);
+ BUFFER_TRACE(sbi->s_sbh, "get_write_access");
err = ext4_journal_get_write_access(handle, sbi->s_sbh);
if (err) {
ext4_journal_stop(handle);