diff options
author | liang xie <xieliang007@gmail.com> | 2014-05-12 22:06:43 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2014-05-12 22:06:43 -0400 |
commit | 5d60125530b0122f5a0a57481f3064a6250365dd (patch) | |
tree | ec782bb0e4e6a3828b8d2cf7f426700ad069ea2c /fs/ext4/file.c | |
parent | c8b459f492cbe8be26d8eac0489ef627ed355947 (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.c | 1 |
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) | |||
244 | handle = ext4_journal_start_sb(sb, EXT4_HT_MISC, 1); | 244 | handle = ext4_journal_start_sb(sb, EXT4_HT_MISC, 1); |
245 | if (IS_ERR(handle)) | 245 | if (IS_ERR(handle)) |
246 | return PTR_ERR(handle); | 246 | return PTR_ERR(handle); |
247 | BUFFER_TRACE(sbi->s_sbh, "get_write_access"); | ||
247 | err = ext4_journal_get_write_access(handle, sbi->s_sbh); | 248 | err = ext4_journal_get_write_access(handle, sbi->s_sbh); |
248 | if (err) { | 249 | if (err) { |
249 | ext4_journal_stop(handle); | 250 | ext4_journal_stop(handle); |