diff options
author | Matthew Ahrens <[email protected]> | 2020-08-20 11:45:20 -0700 |
---|---|---|
committer | GitHub <[email protected]> | 2020-08-20 11:45:20 -0700 |
commit | 3dc18995bd408d3030d2928ae88c4546bc40c2c8 (patch) | |
tree | 374922c884a232acd8c2d5a0d3e84afbb1c363ea | |
parent | 1c2725a157d1af79d73bbe980ff8db01086fd1e8 (diff) |
Fix indentation in dnode_free_range()
Reviewed-by: George Melikov <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Matthew Ahrens <[email protected]>
Closes #10744
-rw-r--r-- | module/zfs/dnode.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/module/zfs/dnode.c b/module/zfs/dnode.c index 138f50630..00536f277 100644 --- a/module/zfs/dnode.c +++ b/module/zfs/dnode.c @@ -2243,13 +2243,13 @@ done: */ mutex_enter(&dn->dn_mtx); { - int txgoff = tx->tx_txg & TXG_MASK; - if (dn->dn_free_ranges[txgoff] == NULL) { - dn->dn_free_ranges[txgoff] = range_tree_create(NULL, - RANGE_SEG64, NULL, 0, 0); - } - range_tree_clear(dn->dn_free_ranges[txgoff], blkid, nblks); - range_tree_add(dn->dn_free_ranges[txgoff], blkid, nblks); + int txgoff = tx->tx_txg & TXG_MASK; + if (dn->dn_free_ranges[txgoff] == NULL) { + dn->dn_free_ranges[txgoff] = range_tree_create(NULL, + RANGE_SEG64, NULL, 0, 0); + } + range_tree_clear(dn->dn_free_ranges[txgoff], blkid, nblks); + range_tree_add(dn->dn_free_ranges[txgoff], blkid, nblks); } dprintf_dnode(dn, "blkid=%llu nblks=%llu txg=%llu\n", blkid, nblks, tx->tx_txg); |