summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorToomas Soome <tsoome@me.com>2020-09-02 14:26:13 +0300
committerToomas Soome <tsoome@me.com>2020-09-09 08:13:15 +0300
commitd061fa1f216e55ded9f2c41eb77f6aa67479a1c5 (patch)
tree1cee0bc185c00a0dde3b86161c20acfc85044d50
parent93d26c05275be2c44aedd16705237484fc0a0990 (diff)
downloadillumos-joyent-d061fa1f216e55ded9f2c41eb77f6aa67479a1c5.tar.gz
13105 dnode_special_open() error: unchecked function return 'zrl_tryenter'
Reviewed by: Jason King <jason.brian.king@gmail.com> Reviewed by: Robert Mustacchi <rm@fingolfin.org> Approved by: Dan McDonald <danmcd@joyent.com>
-rw-r--r--usr/src/uts/common/fs/zfs/dnode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/uts/common/fs/zfs/dnode.c b/usr/src/uts/common/fs/zfs/dnode.c
index f5ef390896..345189f695 100644
--- a/usr/src/uts/common/fs/zfs/dnode.c
+++ b/usr/src/uts/common/fs/zfs/dnode.c
@@ -1197,7 +1197,7 @@ dnode_special_open(objset_t *os, dnode_phys_t *dnp, uint64_t object,
dnode_t *dn;
zrl_init(&dnh->dnh_zrlock);
- zrl_tryenter(&dnh->dnh_zrlock);
+ VERIFY3U(1, ==, zrl_tryenter(&dnh->dnh_zrlock));
dn = dnode_create(os, dnp, NULL, object, dnh);
DNODE_VERIFY(dn);