]> git.proxmox.com Git - mirror_zfs.git/commit
Add parenthesis to the ternary operator
authortuxoko <tuxoko@gmail.com>
Mon, 17 Aug 2015 06:55:52 +0000 (14:55 +0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 19 Aug 2015 18:28:41 +0000 (11:28 -0700)
commit6d79eabf9ff19b5c04fba735802b417389bdfa38
treea26d5fa32e018ba0e7f35e44cdc6092f5091aa0c
parent9d4f86e82562960520ff8f05e85faeb9b417f5e8
Add parenthesis to the ternary operator

Without the parenthesis, this particular ASSERT will evaluate to
"(RW_READER == (!zap->zap_ismicro && fatreader)) ? RW_READER : lti"

Signed-off-by: Chunwei Chen <tuxoko@gmail.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #3685
module/zfs/zap_micro.c