diff options
Diffstat (limited to 'module/zfs/zfs_replay.c')
-rw-r--r-- | module/zfs/zfs_replay.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/module/zfs/zfs_replay.c b/module/zfs/zfs_replay.c index ba103084f..144381769 100644 --- a/module/zfs/zfs_replay.c +++ b/module/zfs/zfs_replay.c @@ -792,7 +792,7 @@ zfs_replay_truncate(void *arg1, void *arg2, boolean_t byteswap) bzero(&fl, sizeof (fl)); fl.l_type = F_WRLCK; - fl.l_whence = 0; + fl.l_whence = SEEK_SET; fl.l_start = lr->lr_offset; fl.l_len = lr->lr_length; |