Project

General

Profile

Actions

Bug #13105

closed

dnode_special_open() error: unchecked function return 'zrl_tryenter'

Added by Toomas Soome over 1 year ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
zfs - Zettabyte File System
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

smatch error:

    /code/illumos-gate/usr/src/tools/proto/root_i386-nd/opt/onbld/bin/i386/smatch: ../../common/fs/zfs/dnode.c:1200 dnode_special_open() error: unchecked function return 'zrl_tryenter'

Because zrl_tryenter() can fail, it seems to me, we need to check for it.

See also: https://github.com/openzfs/zfs/pull/10876

Testing done: build/install/boot

Actions

Also available in: Atom PDF