diff options
Diffstat (limited to 'module/zfs/vdev_file.c')
-rw-r--r-- | module/zfs/vdev_file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/module/zfs/vdev_file.c b/module/zfs/vdev_file.c index c04f40ca4..c15505785 100644 --- a/module/zfs/vdev_file.c +++ b/module/zfs/vdev_file.c @@ -255,7 +255,7 @@ vdev_file_io_start(zio_t *zio) flck.l_type = F_FREESP; flck.l_start = zio->io_offset; flck.l_len = zio->io_size; - flck.l_whence = 0; + flck.l_whence = SEEK_SET; zio->io_error = VOP_SPACE(vf->vf_vnode, F_FREESP, &flck, 0, 0, kcred, NULL); |