From: Brian Behlendorf Date: Mon, 22 Dec 2008 21:49:15 +0000 (-0800) Subject: Just fix a bogus return type X-Git-Tag: zfs-0.4.4~12^2~138^2~1^2^2^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d684390d3ad34d90c59cc70b61d4b66620bc93c1;p=zfs Just fix a bogus return type --- diff --git a/module/zfs/rrwlock.c b/module/zfs/rrwlock.c index 710685dbc..db3b70fc6 100644 --- a/module/zfs/rrwlock.c +++ b/module/zfs/rrwlock.c @@ -118,7 +118,7 @@ rrn_find_and_remove(rrwlock_t *rrl) rrw_node_t *prev = NULL; if (refcount_count(&rrl->rr_linked_rcount) == 0) - return (NULL); + return (B_FALSE); for (rn = tsd_get(rrw_tsd_key); rn != NULL; rn = rn->rn_next) { if (rn->rn_rrl == rrl) {