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/mballoc.c | |
parent | c8b459f492cbe8be26d8eac0489ef627ed355947 (diff) | |
download | linux-stable-5d60125530b0122f5a0a57481f3064a6250365dd.tar.gz linux-stable-5d60125530b0122f5a0a57481f3064a6250365dd.tar.bz2 linux-stable-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/mballoc.c')
-rw-r--r-- | fs/ext4/mballoc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/ext4/mballoc.c b/fs/ext4/mballoc.c index 3235a2fd7e7e..6ca41e7a3fe3 100644 --- a/fs/ext4/mballoc.c +++ b/fs/ext4/mballoc.c @@ -2874,6 +2874,7 @@ ext4_mb_mark_diskspace_used(struct ext4_allocation_context *ac, if (!bitmap_bh) goto out_err; + BUFFER_TRACE(bitmap_bh, "getting write access"); err = ext4_journal_get_write_access(handle, bitmap_bh); if (err) goto out_err; @@ -2886,6 +2887,7 @@ ext4_mb_mark_diskspace_used(struct ext4_allocation_context *ac, ext4_debug("using block group %u(%d)\n", ac->ac_b_ex.fe_group, ext4_free_group_clusters(sb, gdp)); + BUFFER_TRACE(gdp_bh, "get_write_access"); err = ext4_journal_get_write_access(handle, gdp_bh); if (err) goto out_err; |