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]>
--- 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;