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/namei.c | |
parent | c8b459f492cbe8be26d8eac0489ef627ed355947 (diff) | |
download | blackbird-op-linux-5d60125530b0122f5a0a57481f3064a6250365dd.tar.gz blackbird-op-linux-5d60125530b0122f5a0a57481f3064a6250365dd.zip |
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/namei.c')
-rw-r--r-- | fs/ext4/namei.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/ext4/namei.c b/fs/ext4/namei.c index a683f958f128..7ac616769706 100644 --- a/fs/ext4/namei.c +++ b/fs/ext4/namei.c @@ -67,6 +67,7 @@ static struct buffer_head *ext4_append(handle_t *handle, return ERR_PTR(err); inode->i_size += inode->i_sb->s_blocksize; EXT4_I(inode)->i_disksize = inode->i_size; + BUFFER_TRACE(bh, "get_write_access"); err = ext4_journal_get_write_access(handle, bh); if (err) { brelse(bh); @@ -1778,6 +1779,7 @@ static int make_indexed_dir(handle_t *handle, struct dentry *dentry, blocksize = dir->i_sb->s_blocksize; dxtrace(printk(KERN_DEBUG "Creating index: inode %lu\n", dir->i_ino)); + BUFFER_TRACE(bh, "get_write_access"); retval = ext4_journal_get_write_access(handle, bh); if (retval) { ext4_std_error(dir->i_sb, retval); |