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/inline.c | |
parent | c8b459f492cbe8be26d8eac0489ef627ed355947 (diff) | |
download | op-kernel-dev-5d60125530b0122f5a0a57481f3064a6250365dd.zip op-kernel-dev-5d60125530b0122f5a0a57481f3064a6250365dd.tar.gz |
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/inline.c')
-rw-r--r-- | fs/ext4/inline.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/fs/ext4/inline.c b/fs/ext4/inline.c index 33dd704..645205d 100644 --- a/fs/ext4/inline.c +++ b/fs/ext4/inline.c @@ -264,6 +264,7 @@ static int ext4_create_inline_data(handle_t *handle, if (error) return error; + BUFFER_TRACE(is.iloc.bh, "get_write_access"); error = ext4_journal_get_write_access(handle, is.iloc.bh); if (error) goto out; @@ -347,6 +348,7 @@ static int ext4_update_inline_data(handle_t *handle, struct inode *inode, if (error == -ENODATA) goto out; + BUFFER_TRACE(is.iloc.bh, "get_write_access"); error = ext4_journal_get_write_access(handle, is.iloc.bh); if (error) goto out; @@ -424,6 +426,7 @@ static int ext4_destroy_inline_data_nolock(handle_t *handle, if (error) goto out; + BUFFER_TRACE(is.iloc.bh, "get_write_access"); error = ext4_journal_get_write_access(handle, is.iloc.bh); if (error) goto out; @@ -1007,6 +1010,7 @@ static int ext4_add_dirent_to_inline(handle_t *handle, if (err) return err; + BUFFER_TRACE(iloc->bh, "get_write_access"); err = ext4_journal_get_write_access(handle, iloc->bh); if (err) return err; @@ -1669,6 +1673,7 @@ int ext4_delete_inline_entry(handle_t *handle, EXT4_MIN_INLINE_DATA_SIZE; } + BUFFER_TRACE(bh, "get_write_access"); err = ext4_journal_get_write_access(handle, bh); if (err) goto out; |