changeset 13727:826d789b2aae

1342 Bogus assert in bd_xfer_alloc Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Garrett D'Amore <garrett@damore.org> Approved by: Dan McDonald <danmcd@nexenta.com>
author Alexey Zaytsev <alexey.zaytsev@nexenta.com>
date Mon, 18 Jun 2012 21:47:51 -0400
parents 056b82d21d71
children 142190a1b491
files usr/src/uts/common/io/blkdev/blkdev.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/usr/src/uts/common/io/blkdev/blkdev.c	Sat Apr 14 20:29:22 2012 -0400
+++ b/usr/src/uts/common/io/blkdev/blkdev.c	Mon Jun 18 21:47:51 2012 -0400
@@ -20,7 +20,7 @@
  */
 /*
  * Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
- * Copyright 2011 Nexenta Systems, Inc.  All rights reserved.
+ * Copyright 2011, 2012 Nexenta Systems, Inc.  All rights reserved.
  * Copyright 2012 Garrett D'Amore <garrett@damore.org>.  All rights reserved.
  */
 
@@ -556,7 +556,6 @@
 	}
 
 	ASSERT(bp);
-	ASSERT(bp->b_bcount);
 
 	xi->i_bp = bp;
 	xi->i_func = func;