diff options
author | Brian Behlendorf <[email protected]> | 2019-04-12 11:30:59 -0700 |
---|---|---|
committer | GitHub <[email protected]> | 2019-04-12 11:30:59 -0700 |
commit | 3fa93bb8d3f0c757814b96a98ce3334d132894f1 (patch) | |
tree | f0a45567ea59be860d5c06fc8f940fe09f87cb9d /module/zfs/dbuf.c | |
parent | 9e3485abfcff126654c98aa64512505e603215d0 (diff) |
Fix TXG_MASK cstyle
Fix style issue for 'tx->tx_txg&TXG_MASK'. There should be white
space around the '&' character. Split the dnode_reallocate() ASSERT
to make it more readable to clearly separate the checks.
Reviewed-by: George Melikov <[email protected]>
Reviewed-by: Tom Caputi <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Closes #8606
Diffstat (limited to 'module/zfs/dbuf.c')
-rw-r--r-- | module/zfs/dbuf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/module/zfs/dbuf.c b/module/zfs/dbuf.c index e6ce2bca5..d52a520fa 100644 --- a/module/zfs/dbuf.c +++ b/module/zfs/dbuf.c @@ -3959,7 +3959,7 @@ dbuf_sync_leaf(dbuf_dirty_record_t *dr, dmu_tx_t *tx) ASSERT(!list_link_active(&dr->dr_dirty_node)); if (dn->dn_object == DMU_META_DNODE_OBJECT) { - list_insert_tail(&dn->dn_dirty_records[txg&TXG_MASK], dr); + list_insert_tail(&dn->dn_dirty_records[txg & TXG_MASK], dr); DB_DNODE_EXIT(db); } else { /* |