Author: avg Date: Fri Jun 5 17:02:21 2015 New Revision: 284032 URL: https://svnweb.freebsd.org/changeset/base/284032
Log: 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 Modified: head/sys/boot/zfs/zfsimpl.c Modified: head/sys/boot/zfs/zfsimpl.c ============================================================================== --- head/sys/boot/zfs/zfsimpl.c Fri Jun 5 16:52:23 2015 (r284031) +++ head/sys/boot/zfs/zfsimpl.c Fri Jun 5 17:02:21 2015 (r284032) @@ -1255,7 +1255,7 @@ dnode_read(const spa_t *spa, const dnode 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; } _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"