diff options
author | Toomas Soome <[email protected]> | 2020-09-08 21:36:52 +0300 |
---|---|---|
committer | GitHub <[email protected]> | 2020-09-08 11:36:52 -0700 |
commit | 189272f78a775e3ef93499c21c8742c39ab36322 (patch) | |
tree | 64609fd29104c31f2c123c270b55ecb12e746d88 /module/zfs | |
parent | 5a877a894e11ea9baa453096a002f38142c9a296 (diff) |
dnode_special_open() error: unchecked function return 'zrl_tryenter'
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Toomas Soome <[email protected]>
Closes #10876
Diffstat (limited to 'module/zfs')
-rw-r--r-- | module/zfs/dnode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/module/zfs/dnode.c b/module/zfs/dnode.c index 00536f277..43a2fcad6 100644 --- a/module/zfs/dnode.c +++ b/module/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); |