Author: pjd
Date: Sat Aug 28 19:29:06 2010
New Revision: 211948
URL: http://svn.freebsd.org/changeset/base/211948

Log:
  Return NULL pointer instead of B_FALSE as it is done in the vendor code.
  
  Obtained from:        //depot/user/pjd/zfs/...

Modified:
  head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/rrwlock.c

Modified: head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/rrwlock.c
==============================================================================
--- head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/rrwlock.c       Sat Aug 
28 19:28:12 2010        (r211947)
+++ head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/rrwlock.c       Sat Aug 
28 19:29:06 2010        (r211948)
@@ -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)
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to