1342 Bogus assert in bd_xfer_alloc
authorAlexey Zaytsev <alexey.zaytsev@nexenta.com>
Mon, 18 Jun 2012 21:47:51 -0400
changeset 13727 826d789b2aae
parent 13726 056b82d21d71
child 13728 142190a1b491
1342 Bogus assert in bd_xfer_alloc Reviewed by: Robert Mustacchi <[email protected]> Reviewed by: Garrett D'Amore <[email protected]> Approved by: Dan McDonald <[email protected]>
usr/src/uts/common/io/blkdev/blkdev.c
--- 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 <[email protected]>.  All rights reserved.
  */
 
@@ -556,7 +556,6 @@
 	}
 
 	ASSERT(bp);
-	ASSERT(bp->b_bcount);
 
 	xi->i_bp = bp;
 	xi->i_func = func;