Return NULL pointer instead of B_FALSE as it is done in the vendor code.

Obtained from:	//depot/user/pjd/zfs/...
This commit is contained in:
Pawel Jakub Dawidek 2010-08-28 19:29:06 +00:00
parent 3e9e888541
commit b8a4becc2d

View File

@ -82,7 +82,7 @@ rrn_find(rrwlock_t *rrl)
rrw_node_t *rn;
if (refcount_count(&rrl->rr_linked_rcount) == 0)
return (B_FALSE);
return (NULL);
for (rn = tsd_get(rrw_tsd_key); rn != NULL; rn = rn->rn_next) {
if (rn->rn_rrl == rrl)