summaryrefslogtreecommitdiffstats
path: root/module/zfs/dnode.c
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2009-03-11 14:08:48 -0700
committerBrian Behlendorf <[email protected]>2009-03-11 14:08:48 -0700
commite5011401cd4ef761bc6557c44dd11c77f2010581 (patch)
tree60d7a0b8ac8f85404661cf5928dfe12db1528a90 /module/zfs/dnode.c
parentced9992186a2568f8c6d39aa8dbefb9267e67805 (diff)
parent3226eea15761ad18c1f721b5f65c4daecc41dc42 (diff)
Merge branch 'gcc-no-parenthesis' into refs/top-bases/gcc-branch
Diffstat (limited to 'module/zfs/dnode.c')
-rw-r--r--module/zfs/dnode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/zfs/dnode.c b/module/zfs/dnode.c
index 5bf042b17..78b2c15d2 100644
--- a/module/zfs/dnode.c
+++ b/module/zfs/dnode.c
@@ -1109,7 +1109,7 @@ dnode_free_range(dnode_t *dn, uint64_t off, uint64_t len, dmu_tx_t *tx)
int shift = epbs + dn->dn_datablkshift;
first = blkid >> epbs;
- if (db = dbuf_hold_level(dn, 1, first, FTAG)) {
+ if ((db = dbuf_hold_level(dn, 1, first, FTAG))) {
dbuf_will_dirty(db, tx);
dbuf_rele(db, FTAG);
}