diff options
Diffstat (limited to 'module/zfs/zpl_file.c')
-rw-r--r-- | module/zfs/zpl_file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/module/zfs/zpl_file.c b/module/zfs/zpl_file.c index 45e82c80d..9c231d950 100644 --- a/module/zfs/zpl_file.c +++ b/module/zfs/zpl_file.c @@ -771,7 +771,7 @@ zpl_fallocate_common(struct inode *ip, int mode, loff_t offset, loff_t len) if (offset + len > olen) len = olen - offset; bf.l_type = F_WRLCK; - bf.l_whence = 0; + bf.l_whence = SEEK_SET; bf.l_start = offset; bf.l_len = len; bf.l_pid = 0; |