diff options
Diffstat (limited to 'module/zfs/bptree.c')
-rw-r--r-- | module/zfs/bptree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/module/zfs/bptree.c b/module/zfs/bptree.c index c03cb1f84..83f365864 100644 --- a/module/zfs/bptree.c +++ b/module/zfs/bptree.c @@ -141,7 +141,7 @@ bptree_visit_cb(spa_t *spa, zilog_t *zilog, const blkptr_t *bp, int err; struct bptree_args *ba = arg; - if (bp == NULL) + if (BP_IS_HOLE(bp)) return (0); err = ba->ba_func(ba->ba_arg, bp, ba->ba_tx); |