]> granicus.if.org Git - zfs/commitdiff
Just fix a bogus return type
authorBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 22 Dec 2008 21:49:15 +0000 (13:49 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 22 Dec 2008 21:49:15 +0000 (13:49 -0800)
module/zfs/rrwlock.c

index 710685dbc71e2903ca68d221d62db0907a9ef813..db3b70fc68b02d8bc82d7a61d657c9da4b100b3d 100644 (file)
@@ -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) {