Skip to content

Commit

Permalink
13105 dnode_special_open() error: unchecked function return 'zrl_trye…
Browse files Browse the repository at this point in the history
…nter'

Reviewed by: Jason King <jason.brian.king@gmail.com>
Reviewed by: Robert Mustacchi <rm@fingolfin.org>
Approved by: Dan McDonald <danmcd@joyent.com>
  • Loading branch information
tsoome committed Sep 9, 2020
1 parent 93d26c0 commit d061fa1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion usr/src/uts/common/fs/zfs/dnode.c
Expand Up @@ -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);
Expand Down

0 comments on commit d061fa1

Please sign in to comment.