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

Collapse All | Expand All

(-)zfsimpl.c (-1 / +5 lines)
Lines 1255-1261 Link Here
1255
			ibn = bn >> ((nlevels - i - 1) * ibshift);
1255
			ibn = bn >> ((nlevels - i - 1) * ibshift);
1256
			ibn &= ((1 << ibshift) - 1);
1256
			ibn &= ((1 << ibshift) - 1);
1257
			bp = indbp[ibn];
1257
			bp = indbp[ibn];
1258
			rc = zio_read(spa, &bp, dnode_cache_buf);
1258
			if (BP_IS_HOLE(&bp)) {
1259
				memset(dnode_cache_buf, 0, BP_GET_PSIZE(&bp));
1260
				rc = 0;
1261
			} else
1262
				rc = zio_read(spa, &bp, dnode_cache_buf);
1259
			if (rc)
1263
			if (rc)
1260
				return (rc);
1264
				return (rc);
1261
			indbp = (const blkptr_t *) dnode_cache_buf;
1265
			indbp = (const blkptr_t *) dnode_cache_buf;

Return to bug 199804