dnode_read: fixup r284025, BP_IS_HOLE macro expects a pointer
PR: 199804 Reported by: sbruno Pointyhat to: avg MFC after: 10 days X-MFC with: r284025
This commit is contained in:
parent
8c8613a14f
commit
649a80dc4c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=284032
@ -1255,7 +1255,7 @@ dnode_read(const spa_t *spa, const dnode_phys_t *dnode, off_t offset, void *buf,
|
||||
ibn = bn >> ((nlevels - i - 1) * ibshift);
|
||||
ibn &= ((1 << ibshift) - 1);
|
||||
bp = indbp[ibn];
|
||||
if (BP_IS_HOLE(bp)) {
|
||||
if (BP_IS_HOLE(&bp)) {
|
||||
memset(dnode_cache_buf, 0, bsize);
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user