From 9bd274ddd846cd4024ebe3253c7b2d4f3b6f9dc0 Mon Sep 17 00:00:00 2001 From: Matthew Ahrens Date: Tue, 15 Apr 2014 19:40:22 -0800 Subject: Illumos #4374 4374 dn_free_ranges should use range_tree_t Reviewed by: George Wilson Reviewed by: Max Grossman Reviewed by: Christopher Siden Reviewed by: Dan McDonald Approved by: Dan McDonald References: https://www.illumos.org/issues/4374 https://github.com/illumos/illumos-gate/commit/bf16b11 Ported by: Tim Chase Signed-off-by: Brian Behlendorf Closes #2531 --- module/zfs/zio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'module/zfs/zio.c') diff --git a/module/zfs/zio.c b/module/zfs/zio.c index f84e2129b..7e440a381 100644 --- a/module/zfs/zio.c +++ b/module/zfs/zio.c @@ -20,7 +20,7 @@ */ /* * 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. */ @@ -1367,7 +1367,7 @@ __zio_execute(zio_t *zio) } zio->io_stage = stage; - rv = zio_pipeline[highbit(stage) - 1](zio); + rv = zio_pipeline[highbit64(stage) - 1](zio); if (rv == ZIO_PIPELINE_STOP) return; -- cgit v1.2.3