summaryrefslogtreecommitdiffstats
path: root/fs/ext4/mballoc.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/mballoc.c
parentc8b459f492cbe8be26d8eac0489ef627ed355947 (diff)
downloadop-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/mballoc.c')
-rw-r--r--fs/ext4/mballoc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/ext4/mballoc.c b/fs/ext4/mballoc.c
index 3235a2f..6ca41e7 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;
OpenPOWER on IntegriCloud