View | Details | Raw Unified | Return to bug 199804 | Differences between
and this patch

Collapse All | Expand All

(-)b/sys/boot/zfs/zfsimpl.c (+4 lines)
Lines 1308-1313 dnode_read(const spa_t *spa, const dnode_phys_t *dnode, off_t offset, void *buf, Link Here
1308
			ibn = bn >> ((nlevels - i - 1) * ibshift);
1308
			ibn = bn >> ((nlevels - i - 1) * ibshift);
1309
			ibn &= ((1 << ibshift) - 1);
1309
			ibn &= ((1 << ibshift) - 1);
1310
			bp = indbp[ibn];
1310
			bp = indbp[ibn];
1311
			if (BP_IS_HOLE(bp)) {
1312
				memset(dnode_cache_buf, 0, bsize);
1313
				break;
1314
			}
1311
			rc = zio_read(spa, &bp, dnode_cache_buf);
1315
			rc = zio_read(spa, &bp, dnode_cache_buf);
1312
			if (rc)
1316
			if (rc)
1313
				return (rc);
1317
				return (rc);

Return to bug 199804