Skip to content

Commit

Permalink
Merge commit 'refs/top-bases/top' into top
Browse files Browse the repository at this point in the history
  • Loading branch information
behlendorf committed Aug 13, 2010
2 parents 3ec58f0 + 586a629 commit b5c254b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions cmd/ztest/ztest.c
Original file line number Diff line number Diff line change
Expand Up @@ -1067,6 +1067,7 @@ ztest_pattern_set(void *buf, uint64_t size, uint64_t value)
*ip++ = value;
}

#ifndef NDEBUG
static boolean_t
ztest_pattern_match(void *buf, uint64_t size, uint64_t value)
{
Expand All @@ -1079,6 +1080,7 @@ ztest_pattern_match(void *buf, uint64_t size, uint64_t value)

return (diff == 0);
}
#endif

static void
ztest_bt_generate(ztest_block_tag_t *bt, objset_t *os, uint64_t object,
Expand Down
2 changes: 1 addition & 1 deletion module/zfs/vdev_file.c
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ vdev_file_io_start(zio_t *zio)
{
vdev_t *vd = zio->io_vd;
vdev_file_t *vf = vd->vdev_tsd;
ssize_t resid;
ssize_t resid = 0;

if (zio->io_type == ZIO_TYPE_IOCTL) {
/* XXPOLICY */
Expand Down

0 comments on commit b5c254b

Please sign in to comment.