Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Aug 2010 19:29:06 +0000 (UTC)
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r211948 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs
Message-ID:  <201008281929.o7SJT65b041416@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201008281929.o7SJT65b041416>