1 --- a/src/shared/linux_osl.c
2 +++ b/src/shared/linux_osl.c
3 @@ -1080,7 +1080,11 @@ osl_os_get_image_block(char *buf, int le
7 +#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 14, 0)
8 + rdlen = kernel_read(fp, buf, len, &fp->f_pos);
10 rdlen = kernel_read(fp, fp->f_pos, buf, len);