Merge commit 'refs/top-bases/linux-spa-thread' into linux-spa-thread
This commit is contained in:
commit
32c2e11fcc
|
@ -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)
|
||||
{
|
||||
|
@ -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,
|
||||
|
|
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue