mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-27 03:19:35 +03:00
Fix indentation in dnode_free_range()
Reviewed-by: George Melikov <mail@gmelikov.ru> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Matthew Ahrens <mahrens@delphix.com> Closes #10744
This commit is contained in:
parent
1c2725a157
commit
3dc18995bd
@ -2243,13 +2243,13 @@ done:
|
|||||||
*/
|
*/
|
||||||
mutex_enter(&dn->dn_mtx);
|
mutex_enter(&dn->dn_mtx);
|
||||||
{
|
{
|
||||||
int txgoff = tx->tx_txg & TXG_MASK;
|
int txgoff = tx->tx_txg & TXG_MASK;
|
||||||
if (dn->dn_free_ranges[txgoff] == NULL) {
|
if (dn->dn_free_ranges[txgoff] == NULL) {
|
||||||
dn->dn_free_ranges[txgoff] = range_tree_create(NULL,
|
dn->dn_free_ranges[txgoff] = range_tree_create(NULL,
|
||||||
RANGE_SEG64, NULL, 0, 0);
|
RANGE_SEG64, NULL, 0, 0);
|
||||||
}
|
}
|
||||||
range_tree_clear(dn->dn_free_ranges[txgoff], blkid, nblks);
|
range_tree_clear(dn->dn_free_ranges[txgoff], blkid, nblks);
|
||||||
range_tree_add(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",
|
dprintf_dnode(dn, "blkid=%llu nblks=%llu txg=%llu\n",
|
||||||
blkid, nblks, tx->tx_txg);
|
blkid, nblks, tx->tx_txg);
|
||||||
|
Loading…
Reference in New Issue
Block a user