Print this page
4374 dn_free_ranges should use range_tree_t
Reviewed by: George Wilson <george.wilson@delphix.com>
Reviewed by: Max Grossman <max.grossman@delphix.com>
Reviewed by: Christopher Siden <christopher.siden@delphix.com
Reviewed by: Garrett D'Amore <garrett@damore.org>
Reviewed by: Dan McDonald <danmcd@omniti.com>
Approved by: Dan McDonald <danmcd@omniti.com>

@@ -18,11 +18,11 @@
  *
  * CDDL HEADER END
  */
 /*
  * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
- * Copyright (c) 2013 by Delphix. All rights reserved.
+ * Copyright (c) 2011, 2014 by Delphix. All rights reserved.
  * Copyright (c) 2011 Nexenta Systems, Inc. All rights reserved.
  * Copyright 2013 Joyent, Inc. All rights reserved.
  */
 
 #include <sys/zfs_context.h>

@@ -1264,11 +1264,11 @@
                         zio_taskq_dispatch(zio, ZIO_TASKQ_ISSUE, cut);
                         return;
                 }
 
                 zio->io_stage = stage;
-                rv = zio_pipeline[highbit(stage) - 1](zio);
+                rv = zio_pipeline[highbit64(stage) - 1](zio);
 
                 if (rv == ZIO_PIPELINE_STOP)
                         return;
 
                 ASSERT(rv == ZIO_PIPELINE_CONTINUE);