ext4: add missing BUFFER_TRACE before ext4_journal_get_write_access
[deliverable/linux.git] / fs / ext4 / mballoc.c
index 3235a2fd7e7e785850ae75c2d80a82e4834ecc54..6ca41e7a3fe3d83fba732c341c71867f826d7d15 100644 (file)
@@ -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;
This page took 0.024221 seconds and 5 git commands to generate.